List:MySQL++« Previous MessageNext Message »
From:Amit k. Saha Date:July 23 2008 4:56am
Subject:Re: Built MySQL++ on Linux, now what?
View as plain text  
On Tue, Jul 22, 2008 at 9:22 PM, Warren Young <mysqlpp@stripped> wrote:
> Amit k. Saha wrote:
>>>
>>> Post the contents of /etc/ld.so.conf, and tell me where libmysqlpp.so.3
>>> is.
>>
>> For both:
>>
>> /home/as227057/mysqlpp-install/lib
>
> To be clear: you are telling me that you added
> /home/as227057/mysqlpp-install/lib to /etc/ld.so.conf, then ran ldconfig?

Yes.

This morning, something interesting happened:

>
> If so, what does "ldd tut-1" say?

	linux-gate.so.1 =>  (0x0058a000)
	libmysqlpp.so.3 => /home/as227057/mysqlpp-install/lib/libmysqlpp.so.3
(0x0015e000)
	libmysqlclient.so.16 => not found
	libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x002ee000)
	libm.so.6 => /lib/libm.so.6 (0x007e6000)
	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x0093a000)
	libc.so.6 => /lib/libc.so.6 (0x0069e000)
	libz.so.1 => /usr/lib/libz.so.1 (0x00828000)
	/lib/ld-linux.so.2 (0x00681000)
	libmysqlclient.so.16 => not found

Wow! So, now it cannot find 'libmysqlclient.so'. Great. So I added the
relevant directory to '/etc/ld.so.conf' and ran 'ldconfig' again.

But no luck yet. 'ldd' returns: 	linux-gate.so.1 =>  (0x00180000)
	libmysqlpp.so.3 => /home/as227057/mysqlpp-install/lib/libmysqlpp.so.3
(0x00f7f000)
	libmysqlclient.so.16 => not found
	libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x002ee000)
	libm.so.6 => /lib/libm.so.6 (0x007e6000)
	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x0093a000)
	libc.so.6 => /lib/libc.so.6 (0x0069e000)
	libz.so.1 => /usr/lib/libz.so.1 (0x00828000)
	/lib/ld-linux.so.2 (0x00681000)
	libmysqlclient.so.16 => not found



-- 
Amit Kumar Saha
http://blogs.sun.com/amitsaha/
http://amitksaha.blogspot.com
Skype: amitkumarsaha
Thread
Built MySQL++ on Linux, now what?Amit k. Saha21 Jul
  • Re: Built MySQL++ on Linux, now what?Warren Young21 Jul
    • Re: Built MySQL++ on Linux, now what?Amit k. Saha21 Jul
      • Re: Built MySQL++ on Linux, now what?Warren Young21 Jul
        • Re: Built MySQL++ on Linux, now what?Amit k. Saha22 Jul
          • Re: Built MySQL++ on Linux, now what?Warren Young22 Jul
            • Re: Built MySQL++ on Linux, now what?Amit k. Saha22 Jul
              • Re: Built MySQL++ on Linux, now what?Warren Young22 Jul
                • Re: Built MySQL++ on Linux, now what?Amit k. Saha22 Jul
                  • Re: Built MySQL++ on Linux, now what?Warren Young22 Jul
                    • Re: Built MySQL++ on Linux, now what?Amit k. Saha22 Jul
                      • Re: Built MySQL++ on Linux, now what?Warren Young22 Jul
                        • Re: Built MySQL++ on Linux, now what?Amit k. Saha23 Jul
                          • Re: Built MySQL++ on Linux, now what?Warren Young23 Jul
                            • Re: Built MySQL++ on Linux, now what?Amit k. Saha23 Jul