[OTR-users] libotr on Debian

Patrick Tierney ptierney at ucla.edu
Tue Jun 16 19:22:33 EDT 2009


Hello,

I'm using libotr 3.2 with g++ on a Debian system, and I am receiving a
linking error.  In particular, the linker ld cannot find otrl_init().
I am linking with a standard -lotr flag with g++.  The error occurs
both with the libotr2 Debian package, and when I download and install
libotr 3.2 myself.

Here's the g++ output:
main.cpp:(.text+0x16b): undefined reference to `otrl_init(unsigned
int, unsigned int, unsigned int)'
collect2: ld returned 1 exit status
makepp: error: status (1), stopping now

Thanks in advance for any help,

Patrick



More information about the OTR-users mailing list