On Mon, 25 Aug 2003 16:56:47 -0700 Jason Williams <[EMAIL PROTECTED]> wrote:
> Ok..I think this should be easy but im struggling right now (long day) > > I just downloaded and compiled cyrus-sasl-2.1.15...everything went smoothly... > > Now im working on building binary RPMS from a source RPM provided by Simon > Mudd... > > The build was going fine until this error poppedup: > > bin/postconf: error while loading shared libraries: libsasl2.so.2: cannot > open shared object file: No such file or directory > + exit 1 > error: Bad exit status from /var/tmp/rpm-tmp.92755 (%install) > > > RPM build errors: > Bad exit status from /var/tmp/rpm-tmp.92755 (%install) > > So I did this: > > > [EMAIL PROTECTED] SPECS]$ whereis libsasl2.so.2 > libsasl2.so: /usr/local/lib/libsasl2.so.2 /usr/local/lib/libsasl2.so > > > So my question is, can I specify a path when I configure sasl2 in the spec > file? > If so, would the path be /usr/local/lib ? > > For example: > > export POSTFIX_SASL=2 path:/usr/local/lib > > That correct? incorrect? > Hi Jason, You can simply add the /usr/local/lib path to the file /etc/ld.so.conf and then run "ldconfig" as root. The library should then be found by any application that needs it. Cheers, Sean -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list