[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Packaging] Shared library / ld undefined references



Hi all,
I'm quite new to debian packaging...

I've just terminated a shared library under kdevelop
using qt(3), kdeui & khtml

$ ./configure && make && make install
no problem

Now, I'd like to make lib.deb and lib-dev.deb
$ dh_make -c gpl [library]
Here, I'm not sure of my modifications of the generated files
and their dependencies (shlibs ?)
for example :
the file 'shlibs.local.ex' renamed in 'shlibs.local', contains :
liblibtzolkalc 0.2 libtzolkalc (>> 0.2-0), libtzolkalc (<< 0.2-99)
note the double liblib, why that naming here ??
I also uncommented dh_makeshlibs in debian/rules
-quite not sure-

$ dpkg-buildpackage -rfakeroot
The objects are correctly compiled, then :
...
.libs/kinwidget.o:(.data.rel.ro._ZTV9KinWidget[vtable for KinWidget]+0x1d8): 
undefined reference to `QWidget::close(bool)'
...
showkin.cpp:(.text+0x2c2f): undefined reference to `QString::shared_null'
showkin.cpp:(.text+0x2c39): undefined reference to `QStringData::deleteSelf()'
...
collect2: ld returned 1 exit status

I understand that's linker's dependencies problems (I'm just reading man ld)
but where to configure them for debianization ?

Thanks per advance
Dams

Attachment: pgpLBBg2ib3xi.pgp
Description: PGP signature


Reply to: