On Jun 12, 2005, at 4:06, Martin Costabel wrote:
Sébastien Maret wrote:
ImportError: Failure linking new module: /Users/smaret/Desktop/
python- bibtex-1.2.1/build/lib.darwin-8.1.0-PowerMacintosh-2.3/
_recode.so: Symbol not found: _program_name
Referenced from: /sw/lib/librecode.0.dylib
Expected in: dynamic lookup
I think this is a problem with recode (libtool's fault, actually):
It builds its dylib with -undefined dynamic_lookup. With the "new
behavior" of dyld on Tiger, dylibs shouldn't be built using this
flag ever, or else one gets the kind of error you are seeing.
The missing symbol is from libgettextlib.dylib, and instead of the -
undefined dynamic_lookup flag there should be a -lgettextlib flag
on the linker line of recode (plus the corresponding BuildDepends
entry in the info file). Once the -lgettextlib flag is there, the -
undefined dynamic_lookup is actually inoffensive, because there is
no more undefined symbol to lookup.
Thanks Martin. Adding a -lgettextlib flag fixed the problem.
Frédéric, would you mind if I commit the changes in the recode package ?
Sébastien
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel