Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge clobbers rpm-installed libraries?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
nmr_spectrometer
n00b
n00b


Joined: 07 Oct 2002
Posts: 55

PostPosted: Fri Nov 01, 2002 9:52 pm    Post subject: emerge clobbers rpm-installed libraries? Reply with quote

Yes this does have to do with a desktop app, so don't poo-poo the thread yet. :D

I've got an application that uses the 'xview' library (libxview.so.3) and the quickest and easiest way to install it was to install a binary rpm. (In the spirit of gentoo I at least tried to rpm --rebuild xview-nnn.src.rpm but I couldn't get it to work). I guess that part of the rpm install runs ldconfig to update the library paths. libxview gets installed in a funny place (/usr/openwin/lib) but after the rpm install my application can link to it just fine.

However, if I do an emerge (of anything at all), afterwards ldconfig -v shows that my libxview is no longer in the ldpath. I guess that the rpm install is updating /etc/ld.so.conf which is getting clobbered by subsequent emerges. Where is the "protected" ld.so.conf that I can edit it? The file says it's generated by env-update but I can't find anything in /etc/env.d that refers to ld.so.conf so I'm stuck.

Thanks for all your help.
Back to top
View user's profile Send private message
nmr_spectrometer
n00b
n00b


Joined: 07 Oct 2002
Posts: 55

PostPosted: Fri Nov 01, 2002 9:59 pm    Post subject: Reply with quote

*head slapping sound*

Okay, so I just edited /etc/env.d/00basic, and added /usr/openwin/lib to LDPATH. We'll see if that works.

Please pardon me for cluttering up the forum.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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