[Fink-devel] plotutils-2.4.1-1009 linking problem
Hi, On 10.6.1 x86_64, libplot.dylib (which is part of plotutils-2.4.1-1009) does not seems to be linked correctly. When I compile it on that system, I get the following warning: *** Warning: This library needs some functionality provided by -lpng. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. *** The inter-library dependencies that have been dropped here will be *** automatically added whenever a program is linked with this library *** or is declared to -dlopen it. and the library isn't linked to the libpng. % otool -L libplot.dylib libplot.dylib: /sw/lib/libplot.2.dylib (compatibility version 5.0.0, current version 5.1.0) /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3) /usr/lib/libmx.A.dylib (compatibility version 1.0.0, current version 315.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 124.1.1) On the other hand, when compiling in 32 bits, I don't get the warning message and the library is correctly linked: % otool -L libplot.dylib /sw/lib/libplot.dylib: /sw/lib/libplot.2.dylib (compatibility version 5.0.0, current version 5.1.0) /sw/lib/libpng12.0.dylib (compatibility version 36.0.0, current version 36.0.0) /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3) /usr/lib/libmx.A.dylib (compatibility version 1.0.0, current version 315.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 124.1.1) Any idea on how to solve this? Sébastien -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] plotutils-2.4.1-1009 linking problem
On 23/09/2009, at 06:24, Sébastien Maret wrote: On 10.6.1 x86_64, libplot.dylib (which is part of plotutils-2.4.1-1009) does not seems to be linked correctly. When I compile it on that system, I get the following warning: *** Warning: This library needs some functionality provided by -lpng. *** I have the capability to make that library automatically link in when *** you link to this library. But I can only do this if you have a *** shared version of the library, which you do not appear to have. *** The inter-library dependencies that have been dropped here will be *** automatically added whenever a program is linked with this library *** or is declared to -dlopen it. and the library isn't linked to the libpng. % otool -L libplot.dylib libplot.dylib: /sw/lib/libplot.2.dylib (compatibility version 5.0.0, current version 5.1.0) /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3) /usr/lib/libmx.A.dylib (compatibility version 1.0.0, current version 315.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 124.1.1) On the other hand, when compiling in 32 bits, I don't get the warning message and the library is correctly linked: % otool -L libplot.dylib /sw/lib/libplot.dylib: /sw/lib/libplot.2.dylib (compatibility version 5.0.0, current version 5.1.0) /sw/lib/libpng12.0.dylib (compatibility version 36.0.0, current version 36.0.0) /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3) /usr/lib/libmx.A.dylib (compatibility version 1.0.0, current version 315.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 124.1.1) Any idea on how to solve this? Salut, Sébastien. The ltconfig script in plotutils isn't able to parse the output of the file command for x86_64 libraries. I've fixed that and a new revision is now available on CVS: http://article.gmane.org/gmane.os.apple.fink.cvs/85900 Cheers, -- monipol http://finkers.wordpress.com -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] plotutils-2.4.1-1009 linking problem
Le 23 sept. 2009 à 16:06, monipol a écrit : On 23/09/2009, at 06:24, Sébastien Maret wrote: Any idea on how to solve this? Salut, Sébastien. The ltconfig script in plotutils isn't able to parse the output of the file command for x86_64 libraries. I've fixed that and a new revision is now available on CVS: http://article.gmane.org/gmane.os.apple.fink.cvs/85900 Thanks for fixing this so quickly. I think you also need to add the -- x-includes=/usr/X11/include and --x-libs=/usr/X11/lib to the configure parameters, since the configure does not seem to find the X11 libs on SL. Sébastien -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] plotutils-2.4.1-1009 linking problem
On 23/09/2009, at 12:10, Sébastien Maret wrote: Le 23 sept. 2009 à 16:06, monipol a écrit : On 23/09/2009, at 06:24, Sébastien Maret wrote: Any idea on how to solve this? Salut, Sébastien. The ltconfig script in plotutils isn't able to parse the output of the file command for x86_64 libraries. I've fixed that and a new revision is now available on CVS: http://article.gmane.org/gmane.os.apple.fink.cvs/85900 Thanks for fixing this so quickly. I think you also need to add the --x-includes=/usr/X11/include and --x-libs=/usr/X11/lib to the configure parameters, since the configure does not seem to find the X11 libs on SL. Thanks, Sébastien. I’ve committed new revision that passes those options to configure. Cheers, -- monipol http://finkers.wordpress.com -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel