Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] gnutls and libunistring
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
blubberbaer
n00b
n00b


Joined: 15 Mar 2016
Posts: 41

PostPosted: Wed Sep 05, 2018 9:36 am    Post subject: [SOLVED] gnutls and libunistring Reply with quote

Hello all,

I'm trying to solve the following.

emerge gnutls fails with the following message:

Code:

checking for librt... yes
checking how to link with librt... -lrt
checking for pthread_mutex_lock... yes
checking for libunistring... no
configure: error:
  ***
  *** Libunistring was not found. To use the included one, use --with-included-unistring
 

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/net-libs/gnutls-3.5.19/work/gnutls-3.5.19-abi_x86_32.x86/config.log
 * ERROR: net-libs/gnutls-3.5.19::gentoo failed (configure phase):
 *   econf failed



Code:

/etc/portage/package.use/monolithic


says:

Code:

>=dev-libs/libunistring-0.9.7 abi_x86_32


Code:

ls -l /usr/lib32/libunistring.so*


says

Code:

lrwxrwxrwx 1 root root      21 Sep  5 10:49 /usr/lib32/libunistring.so -> libunistring.so.2.0.0
lrwxrwxrwx 1 root root      21 Sep  5 10:49 /usr/lib32/libunistring.so.2 -> libunistring.so.2.0.0
-rwxr-xr-x 1 root root 1513724 Sep  5 10:49 /usr/lib32/libunistring.so.2.0.0


I've reemerged libunistring, with and without ~amd64 or abi_x86_32. Didn't work.

Mmmmm, any help ?

Thanks,

blubberbaer


Last edited by blubberbaer on Wed Sep 12, 2018 12:44 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22981
Location: here

PostPosted: Wed Sep 05, 2018 10:18 am    Post subject: Reply with quote

In my system compile fine (with 32bit support enabled). You use ccache?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
blubberbaer
n00b
n00b


Joined: 15 Mar 2016
Posts: 41

PostPosted: Wed Sep 05, 2018 11:57 am    Post subject: Reply with quote

Hey fedeliallalinea,

guess not, since dev-util/ccache is not installed.

Even with:

Code:

FEATURES="-distcc -ccache" emerge gnutls


the error message doesn't change.

Btw., thanks for your reply,

blubberbaer
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Wed Sep 05, 2018 6:06 pm    Post subject: Reply with quote

blubberbaer ...

at this point you're best to pasetbin the entire build.log/config.log, and post the output of 'emerge --info', and 'emerge -pvq =net-libs/gnutls-3.5.19'.

best ... khay
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6139

PostPosted: Wed Sep 05, 2018 6:27 pm    Post subject: Reply with quote

I had this problem in the distant past and found a FEATURES="-distcc-pump" workaround in my package.env for libunistring. But you already tried that...

Using gold as the linker may have also been a cause, check if it's that.

"emerge -C libunistring; emerge -1 libunistring" might help too. IIRC these have some circular automagic detection problems and having it uninstalled prevents that.
Back to top
View user's profile Send private message
blubberbaer
n00b
n00b


Joined: 15 Mar 2016
Posts: 41

PostPosted: Wed Sep 12, 2018 12:43 pm    Post subject: [solved] Reply with quote

Hey,

sorry for being late with my reply. Thanks for all of your hints and your efforts.
The hint about the linker gave me a clue. I did a rebuild of the system-packages as mentioned in the gcc-upgrade guide (wiki.gentoo.org).
I guess I simply forgot, that once upon a time gcc was upgraded .... ;-)

Have fun,

blubberbaer
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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