Re: [gtk-list] Problem solved, my thanks.



On Tue, 3 Mar 1998, Leeman Strout wrote:

>
> Thanks peoples... problem solved on that funky thing with the
> active/inactive buttons.  Interestingly enough I had .99.3 libs in   
> /usr/lib and .99.4 libs in /usr/local/lib  and ldconfig didn't setup the
> /usr/local/lib directory...
>
> So, new question, how do I fix the following error?
>
> 
PATH="\/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin/$
> ldconfig -n /usr/local/lib
> To link against installed libraries in LIBDIR, users may have to:
>    - add LIBDIR to their `LD_LIBRARY_PATH' environment variable
>    - use the `-LLIBDIR' linker flag
>
>
> My solution was manually adding /usr/local/lib to /etc/ld.so.conf  simple
> enough but my machine scrolled this error message past at mach 5  =)
>
> So is there a way to get it right straight off of installation?
>
One thing I've found helpful is that (on linux at least) you can run

ldd executable

to dump a list of which shared libraries the program in question needs,
and more importantly, where ld.so intends to get each of them.

I don't if this will work for other os's.

-Brian



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]