I was wondering is someone might be able to help...

I've been trying to compile Cflow.pm on a newer 64-bit RHEl5 system using 
flow-tools 0.68.4 (Since it built cleanly on a 64bit system).

The first issue is libft.a is appearing in lib/.libs ...  Someone suggested on 
the list copying (or modifying the Makefile.PL) to lib, and it seems to 
compile.  Originally it was failing to locate flow-tools at all (resulting in 
the nasty invalid format issue):

cp Cflow.pm blib/lib/Cflow.pm
AutoSplitting blib/lib/Cflow.pm (blib/lib/auto/Cflow)
/usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp  -typemap 
/usr/lib/perl5/5.8.8/ExtUtils/typemap  Cflow.xs > Cflow.xsc && mv Cflow.xsc 
Cflow.c
gcc -c  -I../../lib -I../../lib/.. -DOSU -O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m64 -mtune=generic   -DVERSION=\"1.053\" 
-DXS_VERSION=\"1.053\" -fPIC 
"-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE"   Cflow.c
Cflow.xs: In function âconstantâ:
Cflow.xs:143: warning: label ânot_thereâ defined but not used
Cflow.c: At top level:
Cflow.xs:127: warning: ânot_hereâ defined but not used
Cflow.xs:136: warning: âconstantâ defined but not used
Cflow.c: In function âXS_Cflow_findâ:
Cflow.xs:579: warning: âhas_f5dataâ may be used uninitialized in this function
Running Mkbootstrap for Cflow ()
chmod 644 Cflow.bs
rm -f blib/arch/auto/Cflow/Cflow.so
LD_RUN_PATH="/root/flow-tools-0.68.4/contrib/Cflow-1.053/../../lib:/usr/lib64" 
gcc  -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic Cflow.o  -o 
blib/arch/auto/Cflow/Cflow.so  \
           -L/root/flow-tools-0.68.4/contrib/Cflow-1.053/../../lib -lnsl -lft 
-lz       \

chmod 755 blib/arch/auto/Cflow/Cflow.so
cp Cflow.bs blib/arch/auto/Cflow/Cflow.bs
chmod 644 blib/arch/auto/Cflow/Cflow.bs
/usr/bin/perl "-Iblib/arch" "-Iblib/lib" flowdumper.PL flowdumper
cp flowdumper blib/script/flowdumper
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/flowdumper
Manifying blib/man1/flowdumper.1
Manifying blib/man3/Cflow.3pm


However...............

When I try to execute a Cflow.pm script the DynaLoader apparently fails to load 
the shared object:

Can't load 
'/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/Cflow/Cflow.so'
 for module Cflow: libft.so.0: cannot open shared object file: No such file or 
directory at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/DynaLoader.pm 
line 230. At <script>

Can anyone think of what I might be missing or what the issue might be?

                Thanks

                                David
_______________________________________________
Flow-tools mailing list
[EMAIL PROTECTED]
http://mailman.splintered.net/mailman/listinfo/flow-tools

Reply via email to