There seems to be libintl.dylib in /usr/local from the MacTex
distribution. Is there any way to force g95 to use the libraries in /
opt/local/lib ?
On 24 Dec 2007, at 19:33, Ryan Schmidt wrote:
On Dec 24, 2007, at 13:27, Simon J. Bale wrote:
On 24 Dec 2007, at 19:10, Ryan Schmidt wrote:
On Dec 24, 2007, at 09:09, [EMAIL PROTECTED] wrote:
I'm trying to install g95 on Leopard and is seems to fail with
the following error:
Undefined symbols:
"_iconv", referenced from:
__nl_find_msg in libintl.a(dcigettext.o)
"_iconv_open", referenced from:
__nl_init_domain_conv in libintl.a(loadmsgcat.o)
__nl_init_domain_conv in libintl.a(loadmsgcat.o)
"_iconv_close", referenced from:
__nl_free_domain_conv in libintl.a(loadmsgcat.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [g95] Error 1
make: *** [all] Error 2
I've had a look through the bug reports and this problem seems to
have been reported but changeset 32219 was supposed to have fixed
the build issues on Leopard. Is anyone else still having the same
problem?
That changeset was supposed to have resolved #13190...
So you're having problems with iconv symbols referenced from the
gettext library. What versions of libiconv and gettext do you have
installed?
$ port installed libiconv gettext
And can you show me what the relevant libraries are linked with?
$ otool -L /opt/local/lib/libiconv.dylib /opt/local/lib/
libintl.dylib
Do you have anything in /usr/local? Anything in /sw? If so, these
can conflict with MacPorts ports.
Thanks for the reply. I have libiconv 1.12_0 and gettext 0.17_2
installed.
The output of otool -L /opt/local/lib/libiconv.dylib /opt/local/
lib/libintl.dylib is:
/opt/local/lib/libiconv.dylib:
/opt/local/lib/libiconv.2.dylib (compatibility version 7.0.0,
current version 7.0.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current
version 1.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 111.0.0)
/opt/local/lib/libintl.dylib:
/opt/local/lib/libintl.8.dylib (compatibility version 9.0.0,
current version 9.2.0)
/opt/local/lib/libiconv.2.dylib (compatibility version 7.0.0,
current version 7.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 111.0.0)
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/
CoreFoundation (compatibility version 150.0.0, current version
476.0.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current
version 1.0.0)
Well, drat, that's pretty much what mine says too (modulo some
different version numbers since you're on Leopard and I'm on Tiger).
So that doesn't help us identify the problem.
I have a MacTex installed in /usr/local. Any help is greatly
appreciated.
You could try renaming /usr/local (e.g. to /usr/local-off) and try
installing g95 again (after cleaning it: sudo port clean --work g95)
to see if anything in /usr/local was interfering.
_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users