473,395 Members | 2,192 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Solaris 9: Can't build libjpeg shared object for php use

I realize this is the php group, but I have a question that recurses
back to my php install.

My objective is a pure 64 bit shared object installation of php 5.0 on
UltraSparc Solaris 9 compiled with the Sun Compiler version 8.

My problem is that EVERYTHING builds great EXCEPT that the 6b
distribution of JPEG will NOT build a shared object, thus gd cannot
include support for JPEG, thus php loses that functionality.

** Configuration summary for gd 2.0.28:

Support for PNG library: yes
Support for JPEG library: no
Support for Freetype 2.x library: yes
Support for Xpm library: yes
Support for pthreads: yes

Yes, I've seen the install.doc from jpeg-6b:

"* If you want to build libjpeg as a shared library, say
./configure --enable-shared"

Here's that output:

1 [gis 9] ~/jpeg-6b > ./configure --enable-shared
2 checking for gcc... /opt/SUNWspro/bin/cc
3 checking whether the C compiler (/opt/SUNWspro/bin/cc -fast
-xarch=v9a -xO5 ) works... yes
4 checking whether the C compiler (/opt/SUNWspro/bin/cc -fast
-xarch=v9a -xO5 ) is a cross-compiler... no
5 checking whether we are using GNU C... no
6 checking how to run the C preprocessor... /opt/SUNWspro/bin/cc
-E
7 checking for function prototypes... yes
8 checking for stddef.h... yes
9 checking for stdlib.h... yes
10 checking for string.h... yes
11 checking for size_t... yes
12 checking for type unsigned char... yes
13 checking for type unsigned short... yes
14 checking for type void... yes
15 checking for working const... yes
16 checking for inline... inline
17 checking for broken incomplete types... ok
18 checking for short external names... ok
19 checking to see if char is signed... yes
20 checking to see if right shift is signed... yes
21 checking to see if fopen accepts b spec... yes
22 checking for a BSD compatible install...
/usr/local/bin/install -c
23 checking for ranlib... ranlib
24 LTSHARED is yes
25 ------------> I am using libtool in /usr/local/bin/libtool
26 checking host system type... sparc-sun-solaris2.9
27 checking for ranlib... ranlib
28 checking whether we are using GNU C... no
29 checking for /opt/SUNWspro/bin/cc option to produce PIC...
-KPIC
30 checking if /opt/SUNWspro/bin/cc PIC flag -KPIC works... no
31 checking if /opt/SUNWspro/bin/cc static flag -Bstatic works...
none
32 checking whether ln -s works... yes
33 checking for non-GNU ld... /usr/ccs/bin/ld
34 checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
35 checking whether the linker (/usr/ccs/bin/ld) supports shared
libraries... yes
36 checking for BSD-compatible nm... /usr/ccs/bin/nm -p
37 checking command to parse /usr/ccs/bin/nm -p output... yes
38 checking how to hardcode library paths into programs...
immediate
39 checking for /usr/ccs/bin/ld option to reload object files...
-r
40 checking dynamic linker characteristics... solaris2.9 ld.so
41 checking if libtool supports shared libraries... no
42 checking whether to build shared libraries... no
43 checking whether to build static libraries... yes
44 checking for objdir... .libs
45 creating libtool
46 checking libjpeg version number... 62
47 creating ./config.status
48 creating Makefile
49 creating jconfig.h
50 jconfig.h is unchanged
51 [03:35 - 0.21]

As you can see from line 41 above, configure is convinced libtool
cannot support shared libraries. I modified the configure script to
output the location of the libtool being used (line 25) and the value
of LTSHARED (line 24).

Has ANYONE out there successfully milked out a shared object from the
6b distribution of libjpeg ?? This is the only thing holding up my
build.

Thanks in advance,
Phil
Jul 17 '05 #1
0 2255

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Mark Nelson | last post by:
Hi I'm trying to build Imaging 1.1.4 in Solaris 9, I get passwd the first step i.e the building of libImging. However when I execute a python setup.py build I get the following error - gcc...
2
by: Karl Hanzel | last post by:
I've tried to google-up an answer but am not finding it, even tho i have seen passing reference to what sounds like the same problem from others. On a Solaris-8 machine i'm trying to build...
0
by: Bob Swerdlow | last post by:
I'm trying to install MySQLdb 0.9.2 so I can access my MySQL database from python under Solaris 8. I found the notes on changing the include and lib paths and it seems to find them okay, but when...
1
by: Bob Swerdlow | last post by:
I'm having trouble getting Python 2.3.4 installed properly on Solaris 8. First some configuration stuff: bash-2.05# export . . . declare -x HOSTTYPE="sparc" declare -x...
0
by: Christophe | last post by:
Hello, I'm trying to build python 2.3.4 on Solaris 8 (SunOS 5.8) and I ran into a little problem with the socket/ssl module : ************************************ gcc -shared...
0
by: Kirt Loki Dankmyer | last post by:
So, I download the latest "stable" tar for perl (5.8.7) and try to compile it on the Solaris 8 (SPARC) box that I administrate. I try all sorts of different switches, but I can't get it to compile....
0
by: markvr | last post by:
Not sure if this is the best place to ask this, if not please can someone point in the right direction. I am trying to compile PHP 5.2 on a Solaris 9 system. I need Oracle DB support so can't...
7
by: plumb and tree | last post by:
I've been trying for days to build 64 bit python with Solaris 10 + Sun Studio 12. Can anyone helpl please. This is how I tried to do build: # ./configure --prefix=/opt/python2.4...
1
by: Jim McCullars | last post by:
Greetings: Getting configure errors trying to build PHP 5.2.5 under Solaris 9. The configure command I use is this: ../configure --with-mysql --with-gd --with-jpeg-dir=/usr/local...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.