Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ImportError: /usr/lib64/libsqlite3.so.0
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
lovelytux
Tux's lil' helper
Tux's lil' helper


Joined: 23 Aug 2013
Posts: 107
Location: Westwoods of Germany

PostPosted: Mon Sep 16, 2019 1:16 pm    Post subject: ImportError: /usr/lib64/libsqlite3.so.0 Reply with quote

Hey,
try to start wingide-7.1.1 ends in
Code:
ImportError: /usr/lib64/libsqlite3.so.0: undefined symbol: ubrk_open
.
It is possible to say this failed because the ebuild is faulty or is the code of wing faulty?

The answer of support is: This is the problem and it looks like a binary incompatibility with
libsqlite3. What distribution are you using?

lovelytux
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22341
Location: here

PostPosted: Mon Sep 16, 2019 2:01 pm    Post subject: Reply with quote

What return commands
Code:
$ readelf -Ws /usr/lib64/libsqlite3.so.0.8.6 | grep ubrk_open

and
Code:
$ emerge -pv sqlite

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
lovelytux
Tux's lil' helper
Tux's lil' helper


Joined: 23 Aug 2013
Posts: 107
Location: Westwoods of Germany

PostPosted: Mon Sep 16, 2019 3:09 pm    Post subject: Reply with quote

Hey,

Code:
readelf -Ws /usr/lib64/libsqlite3.so.0.8.6 | grep ubrk_open
Code:
 readelf -Ws /usr/lib64/libsqlite3.so.0.8.6 | grep ubrk_open
 4: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND ubrk_open


Code:
emerge -vp sqlite
Code:
[ebuild   R    ] dev-db/sqlite-3.28.0:3::gentoo  USE="icu readline tools -debug -doc -secure-delete -static-libs -tcl -test" ABI_X86="32 (64) (-x32)" 0 KiB


lovelytux
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 14188

PostPosted: Tue Sep 17, 2019 1:14 am    Post subject: Reply with quote

Code:
$ nm -D --defined-only --print-file-name libicui18n.so libicuuc.so | grep ubrk_open
libicuuc.so:00000000001263f0 T ubrk_open
Is sqlite3 properly linked to icu? On my system:
Code:
$ ldd /usr/lib/libsqlite3.so | grep icuuc
        libicuuc.so.64 => /usr/lib64/libicuuc.so.64 (0x00007fb3770eb000)
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22341
Location: here

PostPosted: Tue Sep 17, 2019 5:02 am    Post subject: Reply with quote

I test the program and also in my system I have same error and libsqlite3 is linked to icu
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
lovelytux
Tux's lil' helper
Tux's lil' helper


Joined: 23 Aug 2013
Posts: 107
Location: Westwoods of Germany

PostPosted: Tue Sep 17, 2019 6:26 am    Post subject: Reply with quote

Hey,
it's a pity.
Code:
emerge -vp
[ebuild   R    ] dev-db/sqlite-3.28.0:3::gentoo  USE="icu readline tools -debug -doc -secure-delete -static-libs -tcl -test" ABI_X86="32 (64) (-x32)" 0 KiB

Code:
nm -D --defined-only --print-file-name libicui18n.so libicuuc.so | grep ubrk_open
nm: 'libicui18n.so': No such file
nm: 'libicuuc.so': No such file

Code:
ldd /usr/lib/libsqlite3.so | grep icuuc
libicuuc.so.64 => /usr/lib/libicuuc.so.64 (0xf7790000)


edit:
Code:
nm -D --defined-only --print-file-name /usr/lib/libicuuc.so.64 | grep ubrk_open
/usr/lib/libicuuc.so.64:0010d250 T ubrk_open
/usr/lib/libicuuc.so.64:0010cef0 T ubrk_openBinaryRules
/usr/lib/libicuuc.so.64:0010d490 T ubrk_openRules


In other current debian and -derivates it runs.
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22341
Location: here

PostPosted: Tue Sep 17, 2019 7:43 am    Post subject: Reply with quote

lovelytux wrote:
In other current debian and -derivates it runs.

What returns same commands in debian? And which version is it?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
lovelytux
Tux's lil' helper
Tux's lil' helper


Joined: 23 Aug 2013
Posts: 107
Location: Westwoods of Germany

PostPosted: Tue Sep 17, 2019 10:14 am    Post subject: Reply with quote

Hey,
Code:
cat /etc/debian_version
10.1

Code:
command wing7.1
=> http://dpaste.com/0576C4M
Back to top
View user's profile Send private message
lovelytux
Tux's lil' helper
Tux's lil' helper


Joined: 23 Aug 2013
Posts: 107
Location: Westwoods of Germany

PostPosted: Tue Sep 17, 2019 2:40 pm    Post subject: Reply with quote

Hey,
the support wrote, wingide has his own icu lib and this could collide with the sqlite icu libs. I installed sqlite without icu and wingide started.
Code:
# wing71 --verbose
=> http://dpaste.com/22ZQJQ7
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 14188

PostPosted: Wed Sep 18, 2019 1:50 am    Post subject: Reply with quote

If wingide is going to bundle their own icu (which they should not do), then it is their responsibility to also bundle any other libraries that depend on API details of icu. The better solution is for them not to bundle icu at all, but instead use the system icu and the system sqlite.
Back to top
View user's profile Send private message
lovelytux
Tux's lil' helper
Tux's lil' helper


Joined: 23 Aug 2013
Posts: 107
Location: Westwoods of Germany

PostPosted: Wed Sep 18, 2019 12:42 pm    Post subject: Reply with quote

Hey Hu,
thank you for the clear words!
lovelytux
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum