<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=big5">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Hello,</FONT></DIV>
<DIV><FONT size=2>I'm sorry to bother you. I have  a question that I want 
to ask you.</FONT></DIV>
<DIV><FONT size=2>Did you solve the problem [PPL-devel] PPL compile/run time 
errors .</FONT></DIV>
<DIV><FONT size=2>I have the same problem.</FONT></DIV>
<DIV><FONT size=2>If you have any suggestion , tell me ,please.</FONT></DIV>
<DIV><FONT size=2>Thanks</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>pengyu</FONT></DIV>
<DIV>
<HR>
</DIV>
<DIV><PRE>Hello

While trying to compile my program using the command:

%g++ -lppl -lgmp -lgmpxx -o test PPL-test.cpp

I encountered an error message stating that libgmpxx can't be found
anywhere. So I ran

%/sbin/ldconfig -n /usr/local/lib (my GMP was installed in
/usr/local/lib)

but to no avail. The same problem still occured. So I tried this command
instead:

%g++ -lppl -L/usr/local/lib -o test PPL-test.cpp

This time the compiler returned long list of errors saying something like
/usr.../libppl.so: undefined reference to '__gmp_{name}'

So I linked those files, libgmp, libgmpxx and ppl directory, in
/usr/local/lib  to /usr/lib and compiled the program again. This time the
compiler returned no error, but when I tried to run the program

%./test

the error appeared saying; relocation error: /usr/lib/libgmpxx.so.3:
undefined symbol: __gmp_asprintf_memory'

I checked with 'ldd test' and it seems like all the libraries has
been found successfully.

Did I do something wrong? Can anyone suggest me anything?

I'm using GCC 3.2 with GMP 4.1 installed with --enable-cxx and PPL 4.0.1

TIA

Cheers,
Vaji
-- 
Vajirapan Panumong
Knowledge Representation and Reasoning Group
School of Computing
University of Leeds,
Leeds, UK.
LS2 9JT</PRE><!--endarticle--></DIV></BODY></HTML>