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
menu_hook(3CURSES)					     Curses Library Functions						menu_hook(3CURSES)

NAME
menu_hook, set_item_init, item_init, set_item_term, item_term, set_menu_init, menu_init, set_menu_term, menu_term - assign application-spe- cific routines for automatic invocation by menus SYNOPSIS
cc [ flag... ] file... -lmenu -lcurses [ library... ] #include <menu.h> int set_item_init(MENU *menu, void (*func)(MENU *)); int set_item_term(MENU *menu, void (*func)(MENU *)); void item_term(MENU *menu); int set_menu_init(MENU *menu, void (*func)(MENU *)); void menu_init(MENU *menu); int set_menu_term(MENU *menu, void (*func)(MENU *)); void menu_term(MENU *menu); DESCRIPTION
set_item_init() assigns the application-defined function to be called when the menu is posted and just after the current item changes. item_init() returns a pointer to the item initialization routine, if any, called when the menu is posted and just after the current item changes. set_item_term() assigns an application-defined function to be called when the menu is unposted and just before the current item changes. item_term() returns a pointer to the termination function, if any, called when the menu is unposted and just before the current item changes. set_menu_init() assigns an application-defined function to be called when the menu is posted and just after the top row changes on a posted menu. menu_init() returns a pointer to the menu initialization routine, if any, called when the menu is posted and just after the top row changes on a posted menu. set_menu_term() assigns an application-defined function to be called when the menu is unposted and just before the top row changes on a posted menu. menu_term() returns a pointer to the menu termination routine, if any, called when the menu is unposted and just before the top row changes on a posted menu. RETURN VALUES
Routines that return pointers always return NULL on error. Routines that return an integer return one of the following: E_OK The routine returned successfully. E_SYSTEM_ERROR System error. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |MT-Level |Unsafe | +-----------------------------+-----------------------------+ SEE ALSO
curses(3CURSES), menus(3CURSES), attributes(5) NOTES
The header <menu.h> automatically includes the headers <eti.h> and <curses.h>. SunOS 5.11 31 Dec 1996 menu_hook(3CURSES)
All times are GMT -4. The time now is 04:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy