discuss-gnustep
[Top][All Lists]
Advanced

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

Re: GNUstep on debian


From: Xavier Glattard
Subject: Re: GNUstep on debian
Date: Sat, 17 Feb 2007 14:56:19 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Andreas Höschler <ahoesch <at> smartsoft.de> writes:

> 
> Hi all,
> 
> I finally managed to get GNUstep to build on Debian, also our code 
> depending on GNUstep. We have a loadable bundle that depends on 
> FBAccess (a framework) which again depends on FBCAccess (a library 
> supplied by FrontBase, Inc.). This library is installed in 
> /usr/lib/FrontBase/lib on Debian. Trying to load our bundle failed. It 
> could not find libFBCAccess. Under Soalris we usually add the lib path 
> to crle. It seems this is done differently under Linux. I googled and 
> found
> 
>       pico    /etc/ld.so.conf
> 
>       + /usr/lib/FrontBase/lib
> 
>       ldconfig
> 
> to be the correct approach on Linux. However, this file didn't exist 
> and after creating it with this one entry and executing ldconfig the 
> GNUstep app could not be started anymore. I rebooted the system. Now 
> not even kdm or GNOME came up anymore. It seems my ldconfig approach 
> hosed the complete system. I removed /etc/ld.so.conf and run ldconfig 
> again, but no avail. Everything depeding on shared libs fails now.
> 
> Any ideas how this is done correctly under Linux? I know that I should 
> better keep my hands away from Linux and stay with Solaris. But for 
> this one project I need to get it to work under linux as well. 
> 
> Thanks a lot!
> 
> Regards,
> 
>    Andreas

You should have a /etc/ld.so.conf file. On my sarge-debian system it contains 2
lines :
/usr/X11R6/lib
/usr/local/lib

The 'standard' directory /lib and /usr/lib are always scanned. So you should not
have to add your FrontBase path in ld.so.conf (not sure)

Anyway you need a ld.so.conf file : i suggest you (re)create it with the two
lines above.

regards

Xavier






reply via email to

[Prev in Thread] Current Thread [Next in Thread]