In the end, I spent several hours compiling the cpabe package from its source code in Ubuntu 12.10 with the gmp and pbc dependencies. The following error message seemed to be a problem for many people on the Internet (even to compile other packages that require installing libgmp as a dependency!). However, I could not find a suitable solution there:
... /usr/bin/ld: /usr/local/lib/libpbc.so: undefined reference to symbol '__gmpz_init' /usr/bin/ld: note: '__gmpz_init' is defined in DSO /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/libgmp.so so try adding it to the linker command line /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/libgmp.so: could not read symbols: Invalid operation collect2: ld returned 1 exit status
compilation linker ubuntu gmp
happyMar
source share