Re: pl2link error while installing application?

Richard Frith-Macdonald <[email protected]>
Newsgroups gmane.comp.lib.gnustep.user
Message-ID <[email protected]>
On 5 Jun 2006, at 12:38, Daniel J Farrell wrote:

> Hello everybody,
>
> I have recently installed gnustep (all available packages e.g.  
> base, gui etc...) on MacOS 10.4 using DarwinPorts it took a few  
> hours but it's finally done!
>
> However, I cannon instasll any gnustep application; I get the same  
> error everytime (see below).
>
> There seems to be a problem with pl2link? From what I understand  
> this tool produces a desktop link file for KDE and Gnome out of a  
> GNUstep property list, but I'm on MacOS! Because this can't load  
> the dynamic library: libgnustep-base.dylib.1.12. cannon load....  
> any ideas on how to get around this problem?

If you can't load the base library you are really messed up as  
nothing else will work either.

Possibly you forgot to install the base library ... if so, install it.

Then the most likely possibility is simply that your environment has  
not been set up to point to the base library.

You can set up your environment by sourcing the startup script ...  
'. /usr/GNUstep/System/Library/GNUstep.sh'

Alternatively you can set up just the required dynamic library path
eg.
DYLD_LIBRARY_PATH=/Users/your-name/GNUstep/Library/Libraries:/usr/ 
GNUstep/Local/Library/Libraries:/usr/GNUstep/System/Library/ 
Libraries:/sw/lib
export DYLD_LIBRARY_PATH

A third possibility is some sort of file access permissions problem  
on the library or the path to it ... eg someone accidentally changed  
it so it's not readable by you ... unlikely.

If that''s not the problem (ie the library is correctly installed and  
your environment points to it) then you probably had something go  
wrong when configuring/building the base library such that it is  
linked with some other library which can't be loaded for some  
reason.  That really shouldn't happen but it's the only other reason  
I can think of for the dynamic loader to fail to load it.  If that's  
your problem you have to figure out what the offending code is.  
Tricky unless you are familiar with that sort of thing, but really  
unlikely.
\
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.