Errors compiling Bind


 
Thread Tools Search this Thread
Operating Systems Solaris Errors compiling Bind
# 1  
Old 10-09-2008
Errors compiling Bind

Hi all,
Apologies if this is the wrong forum for this question, if it is, could some one point me to the right one please.


I am trying to compile bind-9.5.1b1 on Solaris 10

Get the error when try to configure:

checking for OpenSSL library... using OpenSSL from /usr/local/lib and /usr/local
/include
checking whether linking with OpenSSL works... no
configure: error: Could not run test program using OpenSSL from
/usr/local/lib and /usr/local/include.
Please check the argument to --with-openssl and your
shared library configuration (e.g., LD_LIBRARY_PATH).

Running openssl v 0.9.8h and as far as I can tell it compiled correctly

Running 05/08 of Solaris 10 and Recommended patch cluster is current as of 7/10/08

Can anyone help or point me to a url that can? Bit of a newbie to DNS I'm afraid.

Any and all help with be gratefully appreciated.

Thanks


Marty
# 2  
Old 10-10-2008
Did you set LD_LIBRARY_PATH ?
LD_CONFIG_PATH=/usr/lib
# 3  
Old 10-13-2008
Hi

LD_LIBRARY_PATH

/usr/lib:/usr/local/lib:/usr/local/ssl/lib

$LD_CONFIG_PATH

/usr/lib

Version of openssl is

OpenSSL 0.9.8h 28 May 2008

Is there a problem with this and the version of Bind I am trying to compile? (v9.5.1b1)

Thanks
# 4  
Old 10-15-2008
What were your configure options? It almost looks like you did:

--with-openssl=/usr/local

Make sure it's:

--with-openssl=/usr/local/ssl

I'm assuming that's the path you installed ssl to, since that's what your library path is. Depending on how you installed the OS, you can also check in /usr/sfw/ for openssl libs instead of compiling your own.
# 5  
Old 10-17-2008
Hi,
Tried:

--with-openssl=/usr/local/ssl (which is where openssl sits) and no joy.

Even tried compiling the shared libraries on openssl and still no joy.

Anyone have any more ideas as I have exhausted every option I can think of and there is not much help if you google the error Smilie.
# 6  
Old 10-21-2008
You can try compiling against the OpenSSL provided by Sun.

Code:
--with-openssl=/usr/sfw

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

How to solve compiling handbrake errors?

Hello friends, Am trying to compile and build Handbrake 0.9.9 on my redhat box but getting the below errors. Same errors when I compile the source from github and also from the official web site. # uname -a Linux blah.com 2.6.18-274.el5 #1 SMP Fri Jul 8 17:36:59 EDT 2011 x86_64 x86_64... (0 Replies)
Discussion started by: prvnrk
0 Replies

2. OS X (Apple)

FFMPEG install on 10.4.11, errors compiling and also using port

i've got an older white macbook running 10.4.11. about 5 years old i think. trying to install ffmpeg in 2 different ways. having errors on both. first tried this one: ffmpeg installation on Mac OSX and i got this error when i got down to "make" on the ffmpeg itself make(350) malloc: ***... (1 Reply)
Discussion started by: danpaluska
1 Replies

3. UNIX for Dummies Questions & Answers

Custom kernel compiling, won't boot, and errors.

First of all, I'd like to preface this post by relaying that I have considerable experience with FreeBSD but I'm a Linux newb. I've been attempting to compile linux-2.6.29.3 from source and I'm having some problems and have a few newb questions... a) First of all, my kernel won't boot, it fails... (0 Replies)
Discussion started by: urbanriot
0 Replies

4. HP-UX

errors while compiling c++ module

hello everyone, here i attempting to compile a c++ module . I am using the following command make -d dummyCHARGP. i am using the gcc compiler .my os is HP-UX 11.11. here i am getting the following errors. errors: ======= /swtemp/usbs/cc/unix-ce/root/subsys/include/main.h:146:... (1 Reply)
Discussion started by: mannam srinivas
1 Replies

5. UNIX for Dummies Questions & Answers

errors compiling gcc 4.2.1

Hello, I have never had a successful compile on the 2.6 kernel. On every arch in which I try to compile gcc I get either "i686-pc-cygwin-ar command not found or "i686-suse-linux-ar command not found. This always happens during the make process after configure checks for ar and finds it's just ar.... (2 Replies)
Discussion started by: kwa71
2 Replies

6. Programming

Errors while Compiling a PC script.

Hi all, I have created a post-C (PC) script OrdItmpopulate.pc. When I am compiling this using the “Make” command I am getting the following error. My “make” command looks like this: make -f $ORACLE_HOME/precomp/demo/proc/demo_proc.mk build EXE=OrdItmpopulate8.exe OBJS="OrdItmpopulate8.o"... (1 Reply)
Discussion started by: musavir19
1 Replies

7. AIX

Adapter Errors and Link Errors

$ errpt | more IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION 3074FEB7 0802050205 T H fscsi1 ADAPTER ERROR B8113DD1 0802050205 T H fcs1 LINK ERROR B8113DD1 0802050205 T H fcs1 LINK ERROR 3074FEB7 0802050205 T H fscsi0 ADAPTER ERROR B8113DD1 ... (2 Replies)
Discussion started by: mcastill66
2 Replies

8. UNIX for Advanced & Expert Users

Adapter Errors and Link Errors

$ errpt | more IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION 3074FEB7 0802050205 T H fscsi1 ADAPTER ERROR B8113DD1 0802050205 T H fcs1 LINK ERROR B8113DD1 0802050205 T H fcs1 LINK ERROR 3074FEB7 0802050205 T H fscsi0 ADAPTER ERROR B8113DD1 ... (0 Replies)
Discussion started by: mcastill66
0 Replies

9. UNIX for Dummies Questions & Answers

BIND and dig errors

Hi all, I'm running BIND 9.1.3 and the accompanying `dig and nslookup' on a vanilla Redhat 7.2 Linux box. I've produced all of my Zone data and config files (I used h2n with some manual tweaks to do this, as some >= v8.2 BIND features aren't properly supported as far as I can see). Im my... (6 Replies)
Discussion started by: sam_pointer
6 Replies

10. Programming

Compiling Errors -- Symbol referencing

I'm trying to compile a FTP_API program. To do this you must use the libftp.so libary. But that libary has references which are not defined. Has anyone had this problems and how is it corrected?? The command line looks like this:-------------------------------------------- # cc ftpstock.c -lftp... (5 Replies)
Discussion started by: spotanddot
5 Replies
Login or Register to Ask a Question