This is a discussion on Re: rpath on fedora/redhat when building postfix from source... within the mailing.postfix.users forums, part of the Mail Servers and Related category; On Tue, 6 Apr 2004, Jonathan Villa wrote: > yeah, it must be incorrect, it gets me past my first ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On Tue, 6 Apr 2004, Jonathan Villa wrote:
> yeah, it must be incorrect, it gets me past my first issue, but then it > comes back after I do a make install... > > I get bin/postconf: error while loading shared libraries: libsasl2.so.2: > cannot open shared object: No such file or directory The correct syntax is "-Wl,-rpath,/usr/local/lib". However, /usr/local/lib is a common shared library path on most Linux systems and is probably already in your /etc/ld.so.conf. Check that it is and run /sbin/ldconfig to update the necessary links, assuming your SASL libs really are in /usr/local/lib. You shouldn't need to specify the RPATH when compiling (objdump -p will display the RPATH in an executable if one is explicitly set, but doing so shouldn't be necessary in this case).. -Rob |