Operating System - HP-UX
1846133 Members
4950 Online
110254 Solutions
New Discussion

Re: this platform does not like uninstalled shared libraries

 
Florent Gilain
Occasional Contributor

this platform does not like uninstalled shared libraries

Hi,

here is the message I get when doing a make of a software :

this platform does not like uninstalled shared libraries

What does that mean ?

Thanks

Florent.
8 REPLIES 8
Umapathy S
Honored Contributor

Re: this platform does not like uninstalled shared libraries

Florent,
can you post more info on what you are trying to do and what you did.
What is the platform in the picture etc..
-Umapathy
Arise Awake and Stop NOT till the goal is Reached!
Florent Gilain
Occasional Contributor

Re: this platform does not like uninstalled shared libraries

Hi,

Here are informations :

uname -a :
HP-UX DMTEST1 B.11.00 U 9000/800 583720528

swlist :
autoconf 2.57 autoconf
automake 1.7.4 automake
bison 1.875 bison
flex 2.5.4a flex
freetype 2.1.4 freetype
gawk 3.1.3 gawk
gcc 3.3.1 gcc
gettext 0.12 gettext
glib 1.2.10 glib
libpng 1.2.5 libpng
m4 1.4 m4
make 3.80 make
perl 5.8.0 perl
texinfo 4.5 texinfo
zlib 1.1.4 zlib

I try to compile softwares using gcc : gnu gzip, mm, openssl, openssh, mod_ssl...

I get this message during the make phase...
Florent Gilain
Occasional Contributor

Re: this platform does not like uninstalled shared libraries

I often get this message, for exemple, I couldn't compile apache 1.3.28 + php 4.3.3 in DSO mode, I had to compil it in static library because I never succeed in compiling php4.3.3 in dynamique module for apache (apache was compiling ok with DSO support, but php never...)

I'm sure it comes from the same problem...
RolandH
Honored Contributor

Re: this platform does not like uninstalled shared libraries

Hi Florent,

that means your programm what you try to compile needs a lib from a other programm which must be installed anywhere on you system.

Have you a configure.sh script in your compile dir? Then do a configure.sh -h that will give you hints how you must compile your programm.

Normaly the configure script checks your system if all needed dependencies are fullfilled and creates a make with these options.

In a case you need libaries from a other programm, which is installed on your system, but not in the search path where configure is looking for that libs, than you must give that path to the configure sript as an option. That the reason you should do configure -h first. That gives you all options.

But let it run first without any options then it will give you an error message whats wrong and you have a point to start for troubleshooting.


HTH
Roland
Sometimes you lose and sometimes the others win
Florent Gilain
Occasional Contributor

Re: this platform does not like uninstalled shared libraries

Roland,

Thanks for your help, i'll retry this in few hours.

Just one more precision, I'm really not a Unix master ;-)) :

when ./configure -h tells me to give the path to gd lib for exemple, what must I give him ? /usr/local ?

Correct me if I'm not just, when you give the path to a library, you just give the path to a root folder that contains 2 sub-directory :
include AND lib

Am I right ?


Florent
RolandH
Honored Contributor

Re: this platform does not like uninstalled shared libraries

In this case I think you are right Florent !!
But often are these parameters not one they are often two.


that looks then like:


configure --gd-lib=/usr/local/lib --gd-include=/usr/local/include


(only an example. i do not know if these are the right parmeters)

Roland


BTW:


There is a apache depot from HP, where PHP is included.


See this thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=223630


Sometimes you lose and sometimes the others win
Mehdi_1
Regular Advisor

Re: this platform does not like uninstalled shared libraries

Hi

First: I can't see gd in your list of packges installed on you machine. So you need to install "gd" first IF your program really need that. sometimes adding library to your program is optional, for example in your case I think if you add gd it will add some more capability to your program such as graph!.But your program it still going to work without it. Because if it was really needed the configure would give you error and you couldn't generate any Makefiles.

Second: The message that you get:

"this platform does not like uninstalled shared libraries"

is only a warning. It doesn't really effect your program. The reason you get that is, The program that you are trying to compile is generating shared library. and then trying to use that library either to build another library or an executable. Because the first shared library is not installed yet! therefore you get the above message.
Do you get the message below also?

"will be relinked during installation"


Mehdi

Florent Gilain
Occasional Contributor

Re: this platform does not like uninstalled shared libraries

Hi,

Yes, I get the relink message too often...

I didn't install GD as a depot, that's i think why it isn't in my swlist list...i compiled it from scratch...