99ac
![]() |
|
|
|
|
|||||||
| Porting New Software Having trouble or general questions about porting software to FreeBSD? Ask here. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hello,
This is my first post here so greetings for everyone ! So I have to say that I'm software developer (windows mainly) not FreeBSD administrator so BSD world for me is not well known. I need to run one of my application on FreeBSD 9.1 64 bit. This app is compiled by FPC 32 bit due to inner 64 bit compatibility problems. Application start and run properly but the problem is with PostgreSQL access. Because this app use libpq.so (I can't change this) and this is 32 bit - standard libpq.so located at /usr/local/lib/ (which is 64 bit) can't be used of course. So I place 32 bit libpq.so at /usr/lib32 and my application load this properly (You can place this lib on other place and add path by ldconfig - this works too). Unfortunately from this point I have big trouble. My app give error about wrong version (64 bit) of libintl.so.9 - this is understood. So on my libpq.so 32 bit I ran: ldd libpq.soand the result is: Code:
libintl.so.9 => not found (0)
libssl.so.6 => not found (0)
libcrypto.so.6 => /usr/lib32/libcrypto.so.6 (0x281cb000)
libthr.so.3 => /usr/lib32/libthr.so.3 (0x28327000)
libc.so.7 => /usr/lib32/libc.so.7 (0x2806c000)
It looks like only place where this lib can be placed is /usr/local/lib path. When I temporary place my 32 libintl at this path ldd looks like this: Code:
ldd libpq.so:
libintl.so.9 => /usr/local/lib/libintl.so.9 (0x281cb000)
libssl.so.6 => not found (0)
libcrypto.so.6 => /usr/lib32/libcrypto.so.6 (0x281d4000)
libthr.so.3 => /usr/lib32/libthr.so.3 (0x28330000)
libc.so.7 => /usr/lib32/libc.so.7 (0x2806c000)
libiconv.so.3 => not found (0)
Could anyone can help me with this? What can be wrong here? Why only one correct place for libintl.so is /usr/local/lib? How can I change this? I know about 32-bit jail solution on my 64 OS but this is extreme solution for me. Best regards from Poland Jaromir |
|
#2
|
||||
|
||||
|
Quote:
![]() It's probably the easiest solution that's also still manageable.
__________________
Senior UNIX Engineer at Unix Support Nederland Experience is something you don't get until just after you need it. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Web host | gpatrick | Web & Network Services | 1 | October 1st, 2012 16:09 |
| FreeBSD & KVM as Win 7 host | NickC | General | 8 | April 27th, 2012 11:33 |
| FreeBSD VM Host | Pushrod | General | 1 | August 8th, 2010 22:19 |
| Multiple jails on host... How to get each host network usage | gigikent2000 | Networking | 7 | August 14th, 2009 12:44 |
| [Solved] HOST DNS ip's? | CoolDemon | Installing & Upgrading | 3 | July 13th, 2009 04:50 |