[MINC-users] Building bicpl-1.6.4 on Ubuntu 12.04

Andrew Wood andrew at biospective.com
Tue Jun 3 16:53:46 EDT 2014


Hi all,

I'm trying to build bicpl-1.6.4 on Ubuntu 12.04 and am having some trouble.

Here's my configure command:
./configure --with-minc2 --with-build-path=/usr/local/bic/ --with-image-ppm

Everything goes well until the Testing/ subdirectory, where I get this:

gcc -g -O2 -o test_rgb_io test_rgb_io.o  -L/usr/local/bic//lib
../.libs/libbicpl.a -lppm -lvolume_io2 -lminc2 /usr/lib/libhdf5.so
-lpthread -lz -lnetcdf -lm
/usr/bin/ld: ../.libs/libbicpl.a(rgb_io.o): undefined reference to symbol
'pm_freerow'
/usr/bin/ld: note: 'pm_freerow' is defined in DSO /usr/lib64/libpbm.so.9 so
try adding it to the linker command line
/usr/lib64/libpbm.so.9: could not read symbols: Invalid operation


Manually running the gcc command with "-lpbm" at the end, as suggested by
the prompt, works fine. Is there a good reason that the build system isn't
passing along the linker flags? Have I made a mistake with the configure
args?

Thanks,
Andrew


More information about the MINC-users mailing list