Sponsored Content
Operating Systems Solaris Solaris 10 and 64 bit apache/openssl/gcc Post 302116188 by csross on Wednesday 2nd of May 2007 08:59:09 AM
Old 05-02-2007
I compiled openssl with ./Configure solaris64-sparcv9-gcc shared option and although the "make" completed, I noticed a number of the same errors during the verbose output. I did not do a make install. As I said in the original post, I installed gcc 3.4.6 from Sun Freeware after removing the gcc 3.4.6 that came with Solaris 10.

I'm wondering if there is a library search problem. I'm running the make as root and here

LD_LIBRARY_PATH=/usr/lib:/usr/local/lib:/usr/ccs/lib

ld.so.1: openssl: fatal: /usr/local/lib/libgcc_s.so.1: wrong ELF class: ELFCLASS32
Killed
aol1.pem => .0
ld.so.1: openssl: fatal: /usr/local/lib/libgcc_s.so.1: wrong ELF class: ELFCLASS32
Killed
WARNING: Skipping duplicate certificate aol2.pem
ld.so.1: openssl: fatal: /usr/local/lib/libgcc_s.so.1: wrong ELF class: ELFCLASS32
Killed
WARNING: Skipping duplicate certificate aoltw1.pem
ld.so.1: openssl: fatal: /usr/local/lib/libgcc_s.so.1: wrong ELF class: ELFCLASS32
Killed
WARNING: Skipping duplicate certificate aoltw2.pem
ld.so.1: openssl: fatal: /usr/local/lib/libgcc_s.so.1: wrong ELF class: ELFCLASS32
Killed
WARNING: Skipping duplicate certificate argena.pem
ld.so.1: openssl: fatal: /usr/local/lib/libgcc_s.so.1: wrong ELF class: ELFCLASS32
Killed
WARNING: Skipping duplicate certificate argeng.pem
ld.so.1: openssl: fatal: /usr/local/lib/libgcc_s.so.1: wrong ELF class: ELFCLASS32
Killed
WARNING: Skipping duplicate certificate eng1.pem
ld.so.1: openssl: fatal: /usr/local/lib/libgcc_s.so.1: wrong ELF class: ELFCLASS32
Killed
WARNING: Skipping duplicate certificate eng2.pem
ld.so.1: openssl: fatal: /usr/local/lib/libgcc_s.so.1: wrong ELF class: ELFCLASS32
Killed
WARNING: Skipping duplicate certificate eng3.pem
ld.so.1: openssl: fatal: /usr/local/lib/libgcc_s.so.1: wrong ELF class: ELFCLASS32
Killed
WARNING: Skipping duplicate certificate eng4.pem
ld.so.1: openssl: fatal: /usr/local/lib/libgcc_s.so.1: wrong ELF class: ELFCLASS32
Killed
WARNING: Skipping duplicate certificate eng5.pem
ld.so.1: openssl: fatal: /usr/local/lib/libgcc_s.so.1: wrong ELF class: ELFCLASS32
Killed
WARNING: Skipping duplicate certificate RegTP-5R.pem
ld.so.1: openssl: fatal: /usr/local/lib/libgcc_s.so.1: wrong ELF class: ELFCLASS32
Killed
WARNING: Skipping duplicate certificate RegTP-6R.pem
ld.so.1: openssl: fatal: /usr/local/lib/libgcc_s.so.1: wrong ELF class: ELFCLASS32
Killed
WARNING: Skipping duplicate certificate thawteCb.pem
ld.so.1: openssl: fatal: /usr/local/lib/libgcc_s.so.1: wrong ELF class: ELFCLASS32
Killed
WARNING: Skipping duplicate certificate thawteCp.pem
ld.so.1: openssl: fatal: /usr/local/lib/libgcc_s.so.1: wrong ELF class: ELFCLASS32
Killed
WARNING: Skipping duplicate certificate vsign1.pem
ld.so.1: openssl: fatal: /usr/local/lib/libgcc_s.so.1: wrong ELF class: ELFCLASS32
Killed
WARNING: Skipping duplicate certificate vsign3.pem
ld.so.1: openssl: fatal: /usr/local/lib/libgcc_s.so.1: wrong ELF class: ELFCLASS32
Killed
WARNING: Skipping duplicate certificate vsignss.pem
ld.so.1: openssl: fatal: /usr/local/lib/libgcc_s.so.1: wrong ELF class: ELFCLASS32
Killed
WARNING: Skipping duplicate certificate wellsfgo.pem
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

64 bit file using gcc

Hi, I am compiling a C program using gcc. gcc -c test.c The OS is Solaris 2.8 (64 bit). We dont have cc compiler on the box. When I do a file test.o , I get this: test.o: ELF 32-bit MSB relocatable SPARC Version 1 In one of my scripts I need a 64 bit object file. Is it... (1 Reply)
Discussion started by: nattynatty
1 Replies

2. UNIX for Advanced & Expert Users

solaris 9 openssl make problem with ld

i've seen a few posts regarding this issue, and i've tried the resolutions, but i keep running into the same problem. i'm trying to compile OpenSSL with the use of rsaref-2.0 (i'm running through this tutorial... (1 Reply)
Discussion started by: xyyz
1 Replies

3. Programming

32-bit code with gcc

I want to create a 32 bit shared library. I am using following commands 1. gcc -c test1.c 2. ld -b test1.o -o test1.sl But this creates 64 bit shared library. Unix version of the server on which I am working is HP-UX 11.11 (1 Reply)
Discussion started by: amol.chavan
1 Replies

4. UNIX for Dummies Questions & Answers

Setting Last-Modified Bit in Apache

Hi, I have a co-worker that uses javascript code to generate the last-modified date on a file. The problem is our server does not properly send this date so javascript can display it. I know that it is better to use server-side scripting to generate this but she has already put it on multiple... (1 Reply)
Discussion started by: robbieg
1 Replies

5. Solaris

solaris 10 apache 2.2.4 64 bit build error

I am trying to build 64 bit apache 2.2.4 on a Sun server. I have built many applications so far. This is my configure line CC='gcc -m64 -mcpu=v9 -O3' ./configure --disable-ipv6 --enable-info --enable-status --enable-ssl --with-ssl=/usr/local/ssl --disable-negotiation --disable-userdir ... (2 Replies)
Discussion started by: csross
2 Replies

6. Programming

64-Bit gcc Compilation

Hi All I have a question on the compilation Assume i am working on 64 bit Linux OS. i am making shared objects and libraries required for our project. Can i compile 32 bit libraries using gcc of 64 -bit OS? Or Is there any restriction in the 32-bit or 64-bit compilers when trying to... (6 Replies)
Discussion started by: dhanamurthy
6 Replies

7. Solaris

Solaris 64-bit to 32-bit

I had previous implemented the following in my menu.lst to be able to get to 32-bit operations. # title Solaris 10 32-bit root (hd0,0,a) kernel /platform/i86pc/multiboot kernel/unix module /platform/i86pc/boot_archive </code> Now, it is not working as I get the following error : ... (0 Replies)
Discussion started by: praveenr
0 Replies

8. Solaris

Porting C++ 32-bit code on 64-bit Solaris

Hi, I am trying to convert 32-bit code to 64-bit. I have defined function int main() { int* l; size_t len1; fun(len1); return 0; } void fun(int* ptr) { cout<<"\nsizeof(ptr)"<<sizeof(ptr); } However while compiling getting error as : Error: Formal argument ptr... (2 Replies)
Discussion started by: amit_27
2 Replies

9. Solaris

Solaris 10 apache 64 bit libldap.so problem

Hello, I am fairly new to Solaris so please be gentle ;). I am trying to install apache 2.4.3 adapting a script one of my colleagues wrote for version 2.2.23. The problem lies in the fact that I am aiming at creating a 64bit package hence I've already amended the script to reflect that. I... (3 Replies)
Discussion started by: teotao
3 Replies
apache(1M)                                                System Administration Commands                                                apache(1M)

NAME
apache - Apache hypertext transfer protocol server overview DESCRIPTION
apache consists of a main server daemon, loadable server modules, some additional support utilities, configuration files, and documenta- tion. FILES
The apache HTTPD server is integrated with Solaris. The following files specify the installation locations for apache: /etc/apache Contains server configuration files. A newly-installed server must be manually configured before use. Typically this involves copying httpd.conf-example to the httpd.conf file and making local configuration adjustments. /usr/apache/bin Contains the httpd executable as well as other utility programs. /usr/apache/htdocs Contains the Apache manual in HTML format. This documentation is accessible by way of a link on the server test page that gets installed upon fresh installation. /usr/apache/include Contains the Apache header files, which are needed for building various optional server extensions with apxs(8) /usr/apache/jserv Contains documention for the mod_jserv java servlet module. Documention can be read with a web browser using the url: file:/usr/apache/jserv/docs/index.html /usr/apache/libexec Contains loadable modules (DSOs) supplied with the server. Any modules which are added using apxs(8)are also copied into this directory. /usr/apache/man Contains man pages for the server, utility programs, and mod_perl. Add this directory to your MANPATH to read the Apache man pages. See NOTES. /usr/apache/perl5 Contains the modules and library files used by the mod_perl extension to Apache. /var/apache/cgi-bin Default location for the CGI scripts. This can be changed by altering the httpd.conf file and restarting the server. /var/apache/htdocs Default document root. This can be changed by altering the httpd.conf file and restarting the server. /var/apache/icons Icons used by the server. This normally shouldn't need to be changed. /var/apache/logs Contains server log files. The formats, names, and locations of the files in this directory can be altered by various configuration directives in the httpd.conf file. /var/apache/proxy Directory used to cache pages if the caching feature of mod_proxy is enabled in the httpd.conf file. The location of the cache can also be changed by changing the proxy configuration in the httpd.conf file. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWapchr | +-----------------------------+-----------------------------+ | |SUNWapchu | +-----------------------------+-----------------------------+ | |SUNWapchd | +-----------------------------+-----------------------------+ SEE ALSO
attributes(5) http://www.apache.org NOTES
In addition to the documentation and man pages included with Solaris, more information is available at http://www.apache.org The Apache man pages are provided with the programming modules. To view the manual pages for the Apache modules with the man command, add /usr/apache/man to the MANPATH environment variable. See man(1) for more information. Running catman(1M) on the Apache manual pages is not supported. SunOS 5.10 8 Aug 2000 apache(1M)
All times are GMT -4. The time now is 07:33 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy