Hi,

I am having trouble with Fink's libtool, trying to compile a module
for Python.  With 1.4.2-5, I get this:

/bin/sh ./libtool --mode=link g++ -o libmk4py.la  -g -O2  -I../unix/../include 
-I../unix/../src -I.  -module -no-undefined -avoid-version \
        -rpath /usr/local/lib PyProperty.lo PyRowRef.lo PyStorage.lo PyView.lo 
PWOImp.lo column.lo custom.lo derived.lo fileio.lo field.lo format.lo 
handler.lopersist.lo remap.lo std.lo store.lo string.lo table.lo univ.lo view.lo 
viewx.lo
rm -fr .libs/libmk4py.la .libs/libmk4py.* .libs/libmk4py.*
g++ -bundle  -o .libs/libmk4py.so  PyProperty.lo PyRowRef.lo PyStorage.lo PyView.lo 
PWOImp.lo column.lo custom.lo derived.lo fileio.lo field.lo format.lo handler.lo 
persist.lo remap.lo std.lo store.lo string.lo table.lo univ.lo view.lo viewx.lo  -lc 
-install_name  /usr/local/lib/libmk4py.so
g++: -install_name only allowed with -dynamiclib

With 1.4.3-1, I get this:

gcc -r -keep_private_externs -nostdlib -o .libs/libmk4py.so-master.o  PyProperty.lo 
PyRowRef.lo PyStorage.lo PyView.lo PWOImp.lo column.lo custom.lo derived.lofileio.lo 
field.lo format.lo handler.lo persist.lo remap.lo std.lo store.lo string.lo table.lo 
univ.lo view.lo viewx.lo && gcc -bundle  -o .libs/libmk4py.so 
.libs/libmk4py.so-master.o  -lc
ld: Undefined symbols:
[...]
std::terminate()
vtable for __cxxabiv1::__class_type_info
vtable for __cxxabiv1::__si_class_type_info

The problem with 1.4.2 seems obvious; the problem with 1.4.3 is that,
no matter what I try to do (RangerRick suggested CC="c++") libtool
uses gcc for linking.  If I try to use -lstdc++, libtool 1.4.3
complains that it can't link it dynamically and refuses to create a
bundle, only a static library, which is useless for what I need.

Any ideas?

Thanks,

-- 
=Nicholas Riley <[EMAIL PROTECTED]> | <http://www.uiuc.edu/ph/www/njriley>
        Pablo Research Group, Department of Computer Science and
  Medical Scholars Program, University of Illinois at Urbana-Champaign


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to