>dyld: ./dino-0.8.4.darwin-XFree4.2 can't open library:
>/usr/local/lib/libXm.1.dylib  (No such file or directory, errno = 2)
This basically means that the software can't find the library.

I've been having similar problems myself. From my (I'm not a 
programmer) reading of the dyld man pages it seems to be that the 
location of shared libraries is hard wired at compilation time, so 
yes fixing it would seem to require major change to the code and 
recompilation.

However it seems dyld also searches a standard set of directories for 
libraries, and you can modify what is searched by setting the 
environment variable DYLD_LIBRARY_PATH. But man dyld also reveals you 
can set DYLD_FALLBACK_LIBRARY_PATH, which adds to the end of the 
search path.

Personally I'm a bit confused about what to use - presumably if you 
do this in terminal:
setenv DYLD_LIBRARY_PATH "/sw/lib"
It will allow your unix progs to find the libs installed by fink. But 
it will also mean that any of the OS X unix progs search /sw/lib 
before the normal places, which could cause confusion if you have 
different versions of the same libs installed.

It seems to me that doing :
setenv DYLD_FALLBACK_LIBRARY_PATH "/sw/lib"
would be a safer solution.

So I'd suggest adding that line to your .cshrc David.

As for me I think I need to use this to get my CUPS install to start 
by itself - it has a startup item and so should launch when the 
system starts, but where should I put setenv 
DYLD_FALLBACK_LIBRARY_PATH "/sw/lib"?

>Also, do you know whether these problems a part of the change from
>xfree86_4.1 -> 4.2 upgrade, or might they be due to the fact that I had not
>used Fink for my (previous) xfree86_4.1 installation?
Definitely the latter I'd say, it'd dyld's job to find the shared 
libraries the application program needs to link too, because they are 
now installed in a different place - /sw instead of /usr - and /sw 
isn't in dyld's standard search path, so it can't find them.

I hope all that is right ;)

PS Are you getting accelerated openGL in dino now David?
-- 
Adrian

e-mail <mailto:[EMAIL PROTECTED]>
Web Site <http://www.cubitum.co.uk>
NS/AOL Instant Message ID <adrianatcubitum>


_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to