tag:blogger.com,1999:blog-17819132.post4041345710658415533..comments2023-03-23T11:35:15.648+00:00Comments on Life on the OutSide: Solaris 11: Setting up Sendmail / SASL to handle SMTP AUTHAndrew Watkinshttp://www.blogger.com/profile/15586167258016252479noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-17819132.post-13585882329220084452012-02-03T16:29:19.823+00:002012-02-03T16:29:19.823+00:00"# sudo ln -s /usr/local/lib/sasl2 /usr/lib/s..."# sudo ln -s /usr/local/lib/sasl2 /usr/lib/sasl2<br /># sudo ln -s /usr/local/lib/libsasl2.so.2.0.25 /usr/lib/libsasl2.so.2"<br /><br />Ouch. Please refer to the filesystem(5) manual page, especially the parts about /opt, /etc/opt, and /var/opt. If you use /usr/local, you cannot use sparse zones and it also violates the SVR4 filesystem specification. Since you are delivering 3rd party UX-adminnoreply@blogger.comtag:blogger.com,1999:blog-17819132.post-33086888497293063272012-02-03T16:20:37.089+00:002012-02-03T16:20:37.089+00:00Also, if you setenv ORIGIN '$ORIGIN'; sete...Also, if you setenv ORIGIN '$ORIGIN'; setenv O '$O' in the shell as well, it will make linking painless.UX-adminnoreply@blogger.comtag:blogger.com,1999:blog-17819132.post-21440817742865052012012-02-03T16:18:39.224+00:002012-02-03T16:18:39.224+00:00"./utils/Makefile.am
59a60,62
add the followi..."./utils/Makefile.am<br />59a60,62<br />add the following lines:<br />saslpasswd2_LDFLAGS = -rpath $(libdir)<br />dbconverter_2_LDFLAGS = -rpath $(libdir)<br />pluginviewer_LDFLAGS = -rpath $(libdir)"<br /><br />What you want here is:<br /><br />O = $$O<br />saslpasswd2_LDFLAGS = -R$ORIGIN:$ORIGIN/../lib<br />dbconverter_2_LDFLAGS = -R$ORIGIN:$ORIGIN/../lib<br />pluginviewer_LDFLAGS = UX-adminnoreply@blogger.com