[cvsnt] build 2400 and LibraryAccess::Load failed - due to undefined symbol

David Somers dsomers at omz13.com
Fri Jul 21 22:55:06 BST 2006


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Tony Hoyle wrote:
> Wierd.. should work then.

Grrrrrrrrrr.

OK. I tweaked src/cvsapi/unix/LibraryAccess.cpp to dump more diags.

23:21:43: S -> Connecting to postgres
23:21:44: S -> LibraryAccess::Load failed
for '/usr/lib/cvsnt/database/postgres.la', error =
2 /usr/lib/cvsnt/database/postgres.so: undefined symbol:
_ZTV25CSqlConnectionInformation
23:21:44: S -> LoadTrigger(email.la)

Somthing is wrong with the way you're exporting that class...

FWIW:

# nm postgres.so | grep CSqlConnectionInformation
         U _ZN25CSqlConnectionInformation11getVariableEPKc
         U _ZN25CSqlConnectionInformation11setVariableEPKcS1_
         U _ZN25CSqlConnectionInformation17enumVariableNamesEj
0000ada0 W _ZN25CSqlConnectionInformationC2Ev
0000acce W _ZN25CSqlConnectionInformationD2Ev
         U _ZTI25CSqlConnectionInformation
         U _ZTV25CSqlConnectionInformation

And indeed that symbol is undefined.

My caffeine levels are now at an all-time low. Anybody else care to jump in?

-- 
David Somers
PGP Key = 7E613D4E
Fingerprint = 53A0 D84B 7F90 F227 2EAB  4FD7 6278 E2A8 7E61 3D4E



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook