Sponsored Content
Full Discussion: Solaris 7 Sparc 5
Top Forums UNIX for Advanced & Expert Users Solaris 7 Sparc 5 Post 81190 by kisoun on Wednesday 17th of August 2005 06:20:04 AM
Old 08-17-2005
Quote:
Originally Posted by Unbeliever
Sorry I didnt get back to you on the other forum .. busy busy ;-)

To be honest you've got a difficult problem there. I would uninstall the packages you got from and install all the up-to date ones from sun freeware.

The zlib packages is a pretty standard package which al ot of software uses and so it really should cause the problems you descibe. As to the 'relocation' errors you are getting now. This realy does point to a incompatible version of a library of some sort. I would suggest.

1) Install all the relevant packages from sunfreeware.

2) Make sure /usr/local/bin is before /usr/bin and /usr/ccs/bin in your path

PATH=/usr/local/bin:$PATH
export PATH

3) make sure /usr/local/lib is in your LD_LIBRARY_PATH

LD_LIBRARY_PATH=/usr/local/lib:/usr/local/ssl/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH

Then try the ./configure again
First of all , thanks, and thanks again.

You suggested to uninstall all the packages I have installed.
Do you mean all of them? For instance, I have installed since now many packages and many sources.

The general idea is to install mysql, apache, php.
And of cource to set the right parameters to make them work together.

Α colleague of mine suggested to me to install mysql, apache, php from source and not from package, because from source its easier to set parameters.

So, I followed that plan, and I installed first mysql.
It was difficult for me. I searched a lot, I tried many ways and configurations.
Mysql required many programs.
When I couldn't install each one of them from source, I did it from package.
So, the life was going on Smilie,
and I installed apache with the same way.

So, the last 'component' is php.
For this, I think that I have said a lot of details...Smilie


You said to download all the relevant packages from sunfreeware.
All the packages since now, I took them from sunfreeware.
I have chosen sparc/solaris7, and it has provided me the relevant packages.sources.

One question. what do you mean with that : "2) Make sure /usr/local/bin is before /usr/bin and /usr/ccs/bin in your path" ??

By-default all the binaries, libraries, are being installed in /usr/local/bin, /usr/local/lib, /usr/local/sbin, and /usr/ccs/bin.
After the installation, I'm making links into the below folders. /usr/bin,
/usr/lib, /usr/sbin.

The export command cannot be found, so "LD_LIBRARY_PATH=/usr/local/lib:/usr/local/ssl/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH" can be done only (I think) with the command setenv.
So I have executed the below commands:
#setenv LD_LIBRARY_PATH=/usr/local/lib

#setenv LDFLAGS=-L/usr/local/ssl/lib

#setenv OPENSSL_LIBDIR=/usr/local/ssl/lib

maybe I have to try this one : #setenv LD_LIBRARY_PATH=/usr/local/lib:/usr/local/ssl/lib

I think I speak too much Smilie,
but one last question.
Is it, or it is not more correct, to uninstall only the required packages for php?? (I mean, to let the others as they are. e.g. m4, autoconf, bison, flex, openssl, libtool, db(Berkeley)).

Thanks again
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Solaris 9 x86 and Sparc?

Hi, What is the difference between Solaris 9 x86 and Sparc besides the hardware. Is all the command the same or there are a difference? Plus where can go to get more information on the differences. Many thanks, -n (2 Replies)
Discussion started by: Insomniac
2 Replies

2. Solaris

Samba on Solaris 9, Sparc.

hi guys, This is prolly more of a dummies question, but here goes. I want to make my Ultra 5 workstation into a samba server. I have solaris 9 installed with the latest patch cluster. if I do: pkginfo | grep samba I get : # pkginfo | grep samba system SUNWsmbac ... (3 Replies)
Discussion started by: BG_JrAdmin
3 Replies

3. UNIX for Dummies Questions & Answers

Solaris 7 Sparc 5

First of all, I want to salute everybody. Since a week ago I put myself many troubles. :) I decide to install Solaris 7, in a sun sparcstation 5, with raid5. And I don't know almost anything about unix systems, not only Solaris. :) I want to install mysql, apache, php4. I'm not... (4 Replies)
Discussion started by: kisoun
4 Replies

4. UNIX for Dummies Questions & Answers

Running Solaris Sparc Apps on X86 Solaris

I know that Sun make s a version of Solaris for Sparc platforms and also an x86 (Intel/AMD) release of Solaris. Can an application that runs on Solaris/Sparc also run on a PC running the x86 release of Solaris? Would a different release be required or any re-compling of the application? jim (1 Reply)
Discussion started by: stocksj
1 Replies

5. UNIX for Dummies Questions & Answers

can I emulate solaris/sparc on virtualbox? Or other emulator to run solaris for sparc in my win7 PC?

Hi Gurus can I emulate solaris/sparc on virtualbox? Or other emulator to run solaris for sparc in my win7 PC? regards, Israel. (9 Replies)
Discussion started by: iga3725
9 Replies

6. UNIX for Dummies Questions & Answers

Solaris for a training: PC vs Sparc

I need a computer to try Solaris. I'm learning with UNIX Academy training DVDs and after spending much time with Linux I want to try and learn on Solaris. I'll have to buy a computer for my training anyway. I found on ebay plenty of inexpensive Sun boxes. Would it be beneficial for learning to have... (26 Replies)
Discussion started by: newlinuxuser1
26 Replies

7. Solaris

How to read this Solaris version:-Solaris 8 HW 5/03 s28s_hw2wos_06a SPARC?

Hi Guys, Could you please tell me how to read this Solaris version:- Solaris 8 HW 5/03 s28s_hw2wos_06a SPARC Thanks. (3 Replies)
Discussion started by: manalisharmabe
3 Replies

8. Solaris

Solaris 11 SPARC GUI

Hi, Is there anyway to install gui without using update from internet? I mean from DVD or other local disc install. Most of tutorial i forund, they show install gui using pkg update from internet. But now our server not yet have internet because ISP does not provide yet. Please show me the... (18 Replies)
Discussion started by: mzainal
18 Replies
lint(1B)                                             SunOS/BSD Compatibility Package Commands                                             lint(1B)

NAME
lint - C program verifier SYNOPSIS
/usr/ucb/lint [options] DESCRIPTION
/usr/ucb/lint is the interface to the BSD Compatibility Package C program verifier. It is a script that looks for the link /usr/ccs/bin/ucblint to the C program verifier. /usr/ccs/bin/ucblint is available only with the SPROcc package, whose default location is /opt/SUNWspro. /usr/ucb/lint is identical to /usr/ccs/bin/ucblint, except that BSD headers are used and BSD libraries are linked before base libraries. The /opt/SUNWspro/man/man1/lint.1 man page is available only with the SPROcc package. OPTIONS
/usr/ucb/lint accepts the same options as /usr/ccs/bin/ucblint, with the following exceptions: -Idir Search dir for included files whose names do not begin with a slash (/) prior to searching the usual directories. The directories for multiple -I options are searched in the order specified. The preprocessor first searches for #include files in the directory containing sourcefile, and then in directories named with -I options (if any), then /usr/ucbinclude, and finally, in /usr/include. -Ldir Add dir to the list of directories searched for libraries by /usr/ccs/bin/ucblint. This option is passed to /usr/ccs/bin/ld. Directories specified with this option are searched before /usr/ucblib and /usr/lib. -Y P, dir Change the default directory used for finding libraries. EXIT STATUS
The following exit values are returned: 0 Successful completion. >0 An error occurred. FILES
/usr/lint/bin/ld link editor /usr/lib/libc C library /usr/ucbinclude BSD Compatibility directory for header files /usr/ucblib BSD Compatibility directory for libraries /usr/ucblib/libucb BSD Compatibility C library /usr/lib/libsocket library containing socket routines /usr/lib/libnsl library containing network functions /usr/lib/libelf library containing routines to process ELF object files /usr/lib/libaio library containing asynchronous I/O routines ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWscpu | +-----------------------------+-----------------------------+ SEE ALSO
ld(1), a.out(4), attributes(5) SunOS 5.10 1 Feb 1995 lint(1B)
All times are GMT -4. The time now is 11:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy