Subject: Re: coldfusion (undefined symbol)
To: Hubert Feyrer <hubert@feyrer.de>
From: User Noud <noud@knot.nl>
List: port-i386
Date: 12/18/2000 23:32:26
On 14-Dec-00 Hubert Feyrer wrote:
> On Thu, 14 Dec 2000, User Noud wrote:
>> /emul/linux/opt/coldfusion/bin/cfexec: undefined symbol: Mid__C7CStringii
>> 
>> anyone know's if it's the libstdc++-libc6.1-1.so.2-thingy not
>> being recent anough? how can i find what lib's out-a sync so to say?
> 
> try suse7 libstdc++ - use nm(1) to find out which symbols are in there.

i did try that and redhat 6.2's libstdc++ version. didn't work.
farthermore i found the Mid__C7CStringii

new# nm emul/linux/opt/coldfusion/lib/libporting.so|grep Mid__C7CStringii
000649a4 T Mid__C7CStringii
new# 

and the lib seems to get found given the LD_LIBRARY_PATH by ldd.:

new# setenv LD_LIBRARY_PATH
/usr/pkg/emul/linux/usr/lib:/usr/pkg/emul/linux/lib:/usr/pkg/emul/linux/opt/cold
fusion/lib

new# ldd cfexec
cfexec:
         ld-linux.so.2 => /usr/pkg/emul/linux/lib/ld-linux.so.2
         -lc.6 => /usr/pkg/emul/linux/lib/libc.so.6
         -ldl.2 => /usr/pkg/emul/linux/lib/libdl.so.2
         -lpthread.0 => /usr/pkg/emul/linux/lib/libpthread.so.0
         -lm.6 => /usr/pkg/emul/linux/lib/libm.so.6
         -lstdc++-libc6.1-1.2 =>
/usr/pkg/emul/linux/usr/lib/libstdc++-libc6.1-1.so.2
         -lporting => /usr/pkg/emul/linux/opt/coldfusion/lib/libporting.so
         -lcfdataaccess =>
/usr/pkg/emul/linux/opt/coldfusion/lib/libcfdataaccess.so

but still:

new# ./start
/emul/linux/opt/coldfusion/bin/cfexec: error in loading shared libraries:
/emul/linux/opt/coldfusion/bin/cfexec: undefined symbol: Mid__C7CStringii
new# 

hump..now it puzzles me even more
(i'm on a pritty new 1.5 kernel from around 14 dec.)
am i so uttely wrong in that libporting.so should have been loaded??
libporting.so is a binary downloadable lib for linux, is that's why?
must/should libporting.so be source build using libtool or
is a binary linux lib supposed to work? as run-time loaded?
thanx if you or any on the list has input,
~n

>  - Hubret