>> So it looks like we only get a simple filename, no full path. >> What corrective action should be taken? >> I only need this to work as a private shared library for this package. > > > What I had to do to quiet the validator in a more recent related > problem was include: > install_name_tool -id %p/lib/whatever/libfoo.1.dylib %i/lib/whatever/ > libfoo.1.0.0.dylib > as the last line of the InstallScript in the info file. > > If your package has a Makefile containing '-install_name > exttosim.dylib' in LFLAGS, and it is accessible before you run the > InstallScript, you can patch the install_name target there. I just had > a package that ran qmake once for the upper level Makefile, but left > Makefile generation of the lower level directories until 'make' was > run on the top level. grr. > > Somewhere, you'll need to be certain that '- > headerpad_max_install_names' is also set for LFLAGS, prior to building > the library, or you may not be able to lengthen the install_name to > include the full path. (If you patch -install_name before the build, > you won't have this problem.) > > I'm relatively new at this level of info file mucking about, so there > may be some information missing. I trust others will correct my > misconceptions.
Dave, Thanks for the tips. Looking into the problem further, the build system for this package is in bad shape -- it's trying to build and manage shared libraries without the help of libtool, which would take care of this -install_name problem (among other issues). I'll try to work with the lead developer on fixing this. David Fang Computer Systems Laboratory Electrical & Computer Engineering Cornell University http://www.csl.cornell.edu/~fang/ -- (2400 baud? Netscape 3.0?? lynx??? No problem!) ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel