[PolyORB-users] [Debian packaging]Trying to build shared libs

xavier grave xavier.grave at ipno.in2p3.fr
Wed Mar 11 17:13:44 CET 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Working with Ludovic and Reto we try to package polyorb for debian with
corba personality on.

According to Debian policy we should provide executable binary linked
against shared libs. To do so we provide (to be simple) :
	- polyorb-servers
	  po_cos_naming
	- libpolyorb2.4
	  shared libs
	- libpolyorb-dev
          static libs + headers and so on...

We use the configure step to build the static library and we have
modified the common.gpr file in order to do a make pass to build shared
libs (http://www.ada-france.org:8081 org.debian.polyorb to have a look
at our work)

But it seems that the limited with produce some problem when we build :
building dynamic library for project cos_naming
/usr/bin/gcc -shared -o
/debian/org.debian.polyorb/DYNAMIC/lib/libpolyorb-corba-cos-naming-impl.so
- -L/usr/lib/gcc/powerpc-linux-gnu/4.3.3/adalib/
- -L/debian/org.debian.polyorb/DYNAMIC/lib -lpolyorb-corba-cos-naming
- -L/debian/org.debian.polyorb/DYNAMIC/lib -lpolyorb-corba
- -L/debian/org.debian.polyorb/DYNAMIC/lib -lpolyorb
- -L/usr/lib/gcc/powerpc-linux-gnu/4.3.3/adalib/ -lgnarl-4.3 -lgnat-4.3
/debian/org.debian.polyorb/DYNAMIC/cos/naming/cosnaming-namingcontext-impl.o
...
/usr/bin/ld: cannot find -lpolyorb-corba-cos-naming
collect2: ld returned 1 exit status
gnatmake: gcc execution error
make[1]: *** [idls_cos_naming.gpr] Erreur 4

Is there any way to avoid to have -lpolyorb-corba-cos-naming in the list
of shared libs needed ? The limited with is there for .ads dependency ?

Thanks in advance for any help, xavier
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkm34zcACgkQVIZi0A5BZF6V4QCgxcEUdbZLlFe/RpeqApfF73Es
tLkAnjdwRw1qoxXhcuLlmMOBDm1lPDxR
=q4RQ
-----END PGP SIGNATURE-----


More information about the PolyORB-users mailing list