[Unbound-users] Unbound on Solaris 10
Hayward, Bruce
Bruce.Hayward at mtsallstream.com
Wed Jul 21 19:08:14 UTC 2010
Milan
Would that be the same as using
--libdir=dirname
In the ./configure options?
Bruce
Bruce Hayward, MTS Allstream Inc., (c) 204-792-9174 (p) 204-958-1983 (e) bruce.hayward at mtsallstream.com
-----Original Message-----
From: Milan.Jurik at Sun.COM [mailto:Milan.Jurik at Sun.COM]
Sent: July 21, 2010 2:42 AM
To: Dustin Marquess
Cc: Hayward, Bruce; unbound-users at unbound.net
Subject: Re: [Unbound-users] Unbound on Solaris 10
Hi,
Dustin Marquess píše v út 20. 07. 2010 v 13:47 -0500:
> See crle(1).
>
no, do not touch crle(1) if you like your system.
> -Dustin
>
> On Tue, Jul 20, 2010 at 1:38 PM, Hayward, Bruce
> <Bruce.Hayward at mtsallstream.com> wrote:
> >
> > Note that I am aware of setting the LD_LIBRARY_PATH via say a .profile,
> > but was looking for a way to keep the compile separate from OS variables
> > - more looking to see if it can be added via a ./configure parameter.
> >
> > Bruce
> >
> > Bruce Hayward, MTS Allstream Inc., (c) 204-792-9174 (p) 204-958-1983 (e)
> > bruce.hayward at mtsallstream.com
> >
> > -----Original Message-----
> > From: Hayward, Bruce
> > Sent: July 20, 2010 12:47 PM
> > To: 'unbound-users at unbound.net'
> > Subject: RE: [Unbound-users] Unbound on Solaris 10 (Sparc) learning
> > curves
> >
> > Still learning:
> >
> > I have now configured unbound with several options successfully with and
> > without threads (solaris et al). (gmake and gmake install ...)
> >
> > This last time I tried without threads, but with libevents using:
> > ./configure --prefix=/opt/unbound --libexecdir=/opt/unbound/lib
> > --sysconfdir=/var/unbound/etc --sharedstatedir=/var/unbound
> > --localstatedir=/var/unbound
> > --with-conf-file=/var/unbound/etc/unbound.conf
> > --with-run-dir=/var/unbound --with-chroot-dir=/var/unbound
> > --with-pidfile=/var/unbound/run/unbound.pid --with-username=unbound
> > --with-ssl=/usr/local/ssl/ --without-pthreads --without-solaris-threads
> > --with-libevent=/usr/local/libevent-1.4.13-stable/
> >
> > This seems to work though I see:
> > libtool: link: warning: library
> > `/usr/local/libevent-1.4.13-stable//lib/libevent.la' was moved.
> > libtool: link: warning: library
> > `/usr/local/libevent-1.4.13-stable//lib/libevent.la' was moved.
> >
> > Along with the gmake output.
> >
> > Afterwhich I run a gmake install without incident.
> >
> > I have also created a Solaris manifest (SMF), and are using that to
> > start/stop unbound, again successfully.
> >
> > Unbound resolves correctly at this point.
> >
> > Also for generating the remote keys:
> >
> > root at wnpgmb024rw-ns05# unbound-control-setup
> > setup in directory /var/unbound
> > unbound_server.key exists
> > unbound_control.key exists
> > create unbound_server.pem (self signed certificate)
> > create unbound_control.pem (signed client certificate)
> > Signature ok
> > subject=/CN=unbound-control
> > Getting CA Private Key
> > Setup success. Certificates created. Enable in unbound.conf file to use
> >
> >
> > However when running:
> > root at wnpgmb024rw-ns05# unbound-checkconf
> > ld.so.1: unbound-checkconf: fatal: libgcc_s.so.1: open failed: No such
> > file or directory
> > Killed
> > root at wnpgmb024rw-ns05
> >
> > I have:
> > root at wnpgmb024rw-ns05# find / -name libgcc_s.so.1
> > /usr/lib/AdobeReader/Adobe/Reader8/Reader/sparcsolaris/lib/libgcc_s.so.1
> > /usr/sfw/lib/sparcv9/libgcc_s.so.1
> > /usr/sfw/lib/libgcc_s.so.1
> > /usr/local/lib/libgcc_s.so.1
> > /usr/local/lib/sparcv9/libgcc_s.so.1
> > /export/home/explorer/10_Recommended/121104-06/SUNWacroread/reloc/lib/Ad
> > obeReader/Adobe/Reader8/Reader/sparcsolaris/lib/libgcc_s.so.1
> >
> > Thoughts on the open failed? (I also get the same results using the MnM
> > pre-compiled version)
> >
If you used gcc from /usr/sfw/bin, then "-L/usr/sfw/lib -R/usr/sfw/lib"
in LDFLAGS will solve your problem. If you use some your local GCC,
modify the path to your local libs. Aka use rpath.
Or use Sun Studio like I am doing in SFE repository:
http://pkgbuild.svn.sourceforge.net/viewvc/pkgbuild/spec-files-extra/trunk/SFEunbound.spec?revision=2792&view=markup
Best regards,
Milan
Is it really necessary to print this email?
MTS ALLSTREAM INC. CONFIDENTIALITY WARNING: This email message is confidential and intended only for the named recipient(s). If you are not the intended recipient, or an agent responsible for delivering it to the intended recipient, or if this message has been sent to you in error, you are hereby notified that any review, use, dissemination, distribution or copying of this message or its contents is strictly prohibited. If you have received this message in error, please notify the sender immediately and delete the original message. If there is an agreement attached with this message, such agreement will not be binding until it is signed by all parties named therein.
More information about the Unbound-users
mailing list