On 09/19/09 22:08, Wei Feng wrote: > Hi Troy, > > Thanks for the explanation. I did what you suggested. First, when I did: > > ls /usr/lib/libJudy* > > I got 3 files: > > /usr/lib/libJudy.a /usr/lib/libJudy.so.1 /usr/lib/libJudy.so.1.0.1
Sorry, I should have said libJudy.so*, please rm the libJudy.a file as that is the one causing problems. > Then I copied /usr/lib/libJudy.so.1.0.1 (since I did not have > libJudy.so.1.0.3) to my local directory where my cpp file existed. I added > "-L" to the *FLAGS lines and "-Wl -rpath $(pwd)" to the *LIBS lines. But when > I tried to compile with: It should be "-Wl,-rpath,$(pwd)", make sure you have commas not spaces! Troy ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Judy-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/judy-devel
