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. Saha | 21 Jul |
| • Re: Built MySQL++ on Linux, now what? | Warren Young | 21 Jul |
| • Re: Built MySQL++ on Linux, now what? | Amit k. Saha | 21 Jul |
| • Re: Built MySQL++ on Linux, now what? | Warren Young | 21 Jul |
| • Re: Built MySQL++ on Linux, now what? | Amit k. Saha | 22 Jul |
| • Re: Built MySQL++ on Linux, now what? | Warren Young | 22 Jul |
| • Re: Built MySQL++ on Linux, now what? | Amit k. Saha | 22 Jul |
| • Re: Built MySQL++ on Linux, now what? | Warren Young | 22 Jul |
| • Re: Built MySQL++ on Linux, now what? | Amit k. Saha | 22 Jul |
| • Re: Built MySQL++ on Linux, now what? | Warren Young | 22 Jul |
| • Re: Built MySQL++ on Linux, now what? | Amit k. Saha | 22 Jul |
| • Re: Built MySQL++ on Linux, now what? | Warren Young | 22 Jul |
| • Re: Built MySQL++ on Linux, now what? | Amit k. Saha | 23 Jul |
| • Re: Built MySQL++ on Linux, now what? | Warren Young | 23 Jul |
| • Re: Built MySQL++ on Linux, now what? | Amit k. Saha | 23 Jul |