deloptes wrote:
Hi all,
I have difficulty building packages since I rebuilt libtdeldap (and
tdebase)
tdelibs says dpkg-checkbuilddeps: Unmet build dependencies: libkrb5-dev
but tdeldap wants heimdal-dev
What should I do here?
thanks in advance
I set up a build environment and wrote a basic Makefile that does the
helpful build work for the packages.
I updated the dependency in tdelib to be either krb5 or heimdal. It compiles
pretty well
Now tdebase FTB. I get
Linking CXX executable kdesktop_lock
...
kdesktop_lock -L/opt/trinity/lib -rdynamic ../libkdesktopsettings.a
../../tdmlib/libdmctl.a /opt/trinity/lib/libtdeio.so.14.0.0 -lXext -lpthread -lGL
-ltdeldap -z
now -lXau /opt/trinity/lib/libtdeui.so.14.0.0 -lfreetype -lfontconfig -lXext
/opt/trinity/lib/libtdesu.so.14.0.0 /opt/trinity/lib/libtdewalletclient.so.1.0.1
/opt/trinity/lib/libtdecore.so.14.0.0 /opt/trinity/lib/libDCOP.so.14.0.0
/opt/trinity/lib/libtdefx.so.14.0.0 -ltqt -ltqt-mt -lXrender -lX11 -lc -lz -lidn
-lXcomposite -lICE -lSM -lutil -lr -lacl -lattr -Wl,-rpath,/opt/trinity/lib:
/opt/trinity/lib/libtdeldap.so: undefined reference to
`LDAPLoginDlg::~LDAPLoginDlg()'
/opt/trinity/lib/libtdeldap.so: undefined reference to `vtable for
LDAPLogin'
/opt/trinity/lib/libtdeldap.so: undefined reference to
`LDAPLoginDlg::LDAPLoginDlg(TQWidget*, char const*, unsigned int)'
collect2: error: ld returned 1 exit status
kdesktop/lock/CMakeFiles/kdesktop_lock.dir/build.make:321: recipe for
target 'kdesktop/lock/kdesktop_lock' failed
make[2]: *** [kdesktop/lock/kdesktop_lock] Error 1
and
$ nm -D --defined-only /opt/trinity/lib/libtdeldap.so | grep LDAPLoginDlg
$ nm -D /opt/trinity/lib/libtdeldap.so | grep LDAPLoginDlg
U _ZN12LDAPLoginDlgC2EP8TQWidgetPKcj
U _ZN12LDAPLoginDlgD2Ev
On my other machine where I originally build all the code I have
$ nm -D --defined-only /opt/trinity/lib/libtdeldap.so.1.0.0 | grep
LDAPLoginDlg
000000000003ded0 T _ZN12LDAPLoginDlg10tqt_invokeEiP9TQUObject
000000000003df30 T _ZN12LDAPLoginDlg12tqt_propertyEiiP9TQVariant
000000000003d730 T _ZN12LDAPLoginDlg14languageChangeEv
000000000003d8b0 T _ZN12LDAPLoginDlg16staticMetaObjectEv
000000000003de80 T
_ZN12LDAPLoginDlg19tqt_static_propertyEP8TQObjectiiP9TQVariant
000000000003ddf0 T _ZN12LDAPLoginDlg2trEPKcS1_
000000000003de30 T _ZN12LDAPLoginDlg6trUtf8EPKcS1_
0000000000248c98 B _ZN12LDAPLoginDlg7metaObjE
000000000003de90 T _ZN12LDAPLoginDlg8tqt_castEPKc
000000000003df20 T _ZN12LDAPLoginDlg8tqt_emitEiP9TQUObject
000000000003d960 T _ZN12LDAPLoginDlgC1EP8TQWidgetPKcj
000000000003d960 T _ZN12LDAPLoginDlgC2EP8TQWidgetPKcj
000000000003d700 T _ZN12LDAPLoginDlgD0Ev
000000000003d6d0 T _ZN12LDAPLoginDlgD1Ev
000000000003d6d0 T _ZN12LDAPLoginDlgD2Ev
000000000003df70 W _ZNK12LDAPLoginDlg10metaObjectEv
000000000003d6c0 T _ZNK12LDAPLoginDlg9classNameEv
000000000003d720 T _ZThn80_N12LDAPLoginDlgD0Ev
000000000003d6f0 T _ZThn80_N12LDAPLoginDlgD1Ev
0000000000247350 V _ZTI12LDAPLoginDlg
00000000000420f0 V _ZTS12LDAPLoginDlg
0000000000247380 V _ZTV12LDAPLoginDlg
I had to libtoolize autoreconf to be able to build libtdeldap . I guess
perhaps this couldhave broken the way it compiles
I am wondering if this needs further investigation. If you confirm I will
create a bug regarding libkrb5-dev vs heimdal-dev and this issue with
libtdeldap
thanks