[ome-devel] building blitz-cpp

Bernhard Voigt bernhard.voigt at gmail.com
Fri Nov 28 13:55:23 GMT 2008


Hi all!

Just a short note (bug?) to the blitz-cpp compilation:
It seems the links to the shared libraries libraries from the build
directory are not copied to the dist/lib folder. I had to link
manually, otherwise I get an error like this, when executing the cpp
example from the trac page:
error while loading shared libraries: libOMERO_common.so.0: cannot
open shared object file: No such file or directory :

Here's the relevant content of the build and the dist folder:
bernhard at BBOX:~/devel/omero/Beta_3.1.1/components/tools/target/lib> ll lib*
-rw-r--r-- 1 bernhard bernhard  76M 2008-11-28 13:58 libOMERO_client.a
-rwxr-xr-x 1 bernhard bernhard 1.2K 2008-11-28 13:58 libOMERO_client.la
lrwxrwxrwx 1 bernhard bernhard   24 2008-11-28 13:58
libOMERO_client.so -> libOMERO_client.so.0.0.0
lrwxrwxrwx 1 bernhard bernhard   24 2008-11-28 13:58
libOMERO_client.so.0 -> libOMERO_client.so.0.0.0
-rwxr-xr-x 1 bernhard bernhard  30M 2008-11-28 13:58 libOMERO_client.so.0.0.0
-rw-r--r-- 1 bernhard bernhard  11K 2008-11-28 13:57 libOMERO_common.a
-rwxr-xr-x 1 bernhard bernhard 1.1K 2008-11-28 13:57 libOMERO_common.la
lrwxrwxrwx 1 bernhard bernhard   24 2008-11-28 13:57
libOMERO_common.so -> libOMERO_common.so.0.0.0
lrwxrwxrwx 1 bernhard bernhard   24 2008-11-28 13:57
libOMERO_common.so.0 -> libOMERO_common.so.0.0.0
-rwxr-xr-x 1 bernhard bernhard  15K 2008-11-28 13:57 libOMERO_common.so.0.0.0

bernhard at BBOX:~/devel/omero/Beta_3.1.1/dist/lib> ll lib*
-r--r-- 1 bernhard bernhard  76M 2008-11-28 13:58 libOMERO_client.a
-rw-r--r-- 1 bernhard bernhard 1.2K 2008-11-28 13:58 libOMERO_client.la
-rw-r--r-- 1 bernhard bernhard  30M 2008-11-28 13:58 libOMERO_client.so.0.0.0
-rw-r--r-- 1 bernhard bernhard  11K 2008-11-28 13:58 libOMERO_common.a
-rw-r--r-- 1 bernhard bernhard 1.1K 2008-11-28 13:58 libOMERO_common.la
-rw-r--r-- 1 bernhard bernhard  15K 2008-11-28 13:58 libOMERO_common.so.0.0.0

Also the execution flags are missing, though not needed, I think.

Best! Bernhard


More information about the ome-devel mailing list