[PHP-DEV] Bug #11840 Updated: Can't find libjpeg after upgrade to 4.0.6

2001-08-20 Thread sniper

ID: 11840
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old Status: Feedback
Status: Closed
Bug Type: Compile Failure
Operating System: Linux 2.4/RedHat 7.1
PHP Version: 4.0.6
New Comment:

No feedback. And most likely user error.

--Jani


Previous Comments:


[2001-08-03 19:50:30] [EMAIL PROTECTED]

How exactly did you configure PDFLIB ??
If you didn't configure it with jpeg support,
of course you won't need it for PHP..

--Jani




[2001-07-05 17:49:50] [EMAIL PROTECTED]

PDFlib V4.x has support for jpeg, tiff and zlib build in. So these configure options 
would be obsolte if support to build PHP with PDFlib V3.x would be dropped. This would 
simplify the configuration of the PDFlib binding a lot.

One possible solution would be to have to configure options:

--with-pdflib3 for the old PDFlib version
and --with-pdflib for V4.x



[2001-07-02 13:48:09] [EMAIL PROTECTED]

Configure will complete without errors if I leave out --with-jpeg-dir.  Of course, 
PDFlib probably won't let me use JPEG files now, but that's not a problem for me.



[2001-07-02 13:28:38] [EMAIL PROTECTED]

I've exactly th esame config here, and I got no problems.
Can you try not to use the --with-jpeg-dir (as I didn't use that in my configure 
line).

Derick



[2001-07-02 13:08:18] [EMAIL PROTECTED]

[pete@xx lib]$ nm libjpeg.so | grep jpeg_read_header
c2f0 T jpeg_read_header
[pete@xx lib]$ rpm -q libjpeg
libjpeg-6b-15
[pete@xx lib]$ ls | grep jpeg
libimlib-jpeg.a
libimlib-jpeg.so
libjpeg.a
libjpeg.la
libjpeg.so
libjpeg.so.62
libjpeg.so.62.0.0



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/?id=11840


Edit this bug report at http://bugs.php.net/?id=11840edit=1


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #11840 Updated: Can't find libjpeg after upgrade to 4.0.6

2001-07-05 Thread rjs

ID: 11840
Updated by: rjs
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Compile Failure
Operating system: 
PHP Version: 4.0.6
Assigned To: 
Comments:

PDFlib V4.x has support for jpeg, tiff and zlib build in. So these configure options 
would be obsolte if support to build PHP with PDFlib V3.x would be dropped. This would 
simplify the configuration of the PDFlib binding a lot.

One possible solution would be to have to configure options:

--with-pdflib3 for the old PDFlib version
and --with-pdflib for V4.x

Previous Comments:
---

[2001-07-02 13:48:09] [EMAIL PROTECTED]

Configure will complete without errors if I leave out --with-jpeg-dir.  Of course, 
PDFlib probably won't let me use JPEG files now, but that's not a problem for me.

---

[2001-07-02 13:28:38] [EMAIL PROTECTED]

I've exactly th esame config here, and I got no problems.
Can you try not to use the --with-jpeg-dir (as I didn't use that in my configure 
line).

Derick

---

[2001-07-02 13:08:18] [EMAIL PROTECTED]

[pete@xx lib]$ nm libjpeg.so | grep jpeg_read_header
c2f0 T jpeg_read_header
[pete@xx lib]$ rpm -q libjpeg
libjpeg-6b-15
[pete@xx lib]$ ls | grep jpeg
libimlib-jpeg.a
libimlib-jpeg.so
libjpeg.a
libjpeg.la
libjpeg.so
libjpeg.so.62
libjpeg.so.62.0.0

---

[2001-07-02 13:01:16] [EMAIL PROTECTED]

Can you let us know what this shows:

cd /usr/lib
nm [name of jpeg library.so] | grep jpeg_read_header

Is it possible that you have other version of the libarary on your system perhaps? En 
which version of the jpeg library do you have?

Derick

---

[2001-07-02 12:52:58] [EMAIL PROTECTED]

Here's the tail end of config.log:

configure:39416: checking whether to include PDFlib support
configure:39894: checking for the location of libjpeg
configure:39938: checking for jpeg_read_header in -ljpeg
configure:39959: gcc -o conftest -g -O2  -DLINUX=22 -DMOD_SSL=208101 -DEAPI -DEAPI_MM 
-DUSE_EXPAT -DSUPPORT_UTF8  -Wl,-rpath,/usr/local/jdk1.2.2/jre/lib/i386/classic 
-L/usr/local/jdk1.2.2/jre/lib/i386/classic 
-Wl,-rpath,/usr/local/jdk1.2.2/jre/lib/i386/native_threads 
-L/usr/local/jdk1.2.2/jre/lib/i386/native_threads 
-Wl,-rpath,/usr/local/jdk1.2.2/jre/lib/i386 -L/usr/local/jdk1.2.2/jre/lib/i386 
-Wl,-rpath,/usr/local/mnogosearch/lib -L/usr/local/mnogosearch/lib 
-Wl,-rpath,/usr/local/Hughes/lib -L/usr/local/Hughes/lib conftest.c -ljpeg 
-L/usr/lib
   -lz -lmsql -ludmsearch -lpq -lcrypt -lz -lcrypt -lresolv -lm -ldl -lnsl  
-lresolv 15
/tmp/ccxhNgGY.o: In function `main':
/usr/local/src/php-4.0.6/configure:39955: undefined reference to `jpeg_read_header'
collect2: ld returned 1 exit status
configure: failed program was:
#line 39948 configure
#include confdefs.h
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply.  */
char jpeg_read_header();

int main() {
jpeg_read_header()
; return 0; }


---

The remainder of the comments for this report are too long.
To view the rest of the comments, please
view the bug report online.


ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11840edit=2


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #11840 Updated: Can't find libjpeg after upgrade to 4.0.6

2001-07-02 Thread derick

ID: 11840
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Feedback
Bug Type: Compile Problem
Operating system: 
PHP Version: 4.0.6
Assigned To: 
Comments:

Can you add the config.log file to this report?

Derick

Previous Comments:
---

[2001-07-02 12:17:59] [EMAIL PROTECTED]

When trying to compile 4.0.6 with the same configuration as 4.0.5, configure complains 
that it can't find libjpeg, although the library files are located in the specified 
directory (/usr).  This is the output of configure:

checking whether to include PCRE support... yes
checking for memmove... (cached) yes
checking whether to include PDFlib support... yes
checking for the location of libjpeg... yes
checking for jpeg_read_header in -ljpeg... no
configure: error: libjpeg not found!

Here is my command line:

./configure 
--with-apxs=/usr/sbin/apxs 
--with-gettext=no 
--with-pgsql 
--with-msql=/usr/local/Hughes 
--with-mnogosearch=/usr/local/mnogosearch 
--without-mysql 
--without-gd 
--with-xml 
--with-dom=shared,/usr/local 
--with-java=/usr/local/jdk1.2.2 
--with-pdflib=/usr/local 
--with-pspell 
--enable-track-vars=yes 
--with-jpeg-dir=/usr 
--with-tiff-dir=/usr 
--with-zlib-dir=/usr 
--with-session=/tmp 
--enable-trans-sid



---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11840edit=2


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #11840 Updated: Can't find libjpeg after upgrade to 4.0.6

2001-07-02 Thread pete

ID: 11840
User Update by: [EMAIL PROTECTED]
Old-Status: Feedback
Status: Open
Bug Type: Compile Problem
Operating system: Linux 2.4/RedHat 7.1
PHP Version: 4.0.6
Description: Can't find libjpeg after upgrade to 4.0.6

Here's the tail end of config.log:

configure:39416: checking whether to include PDFlib support
configure:39894: checking for the location of libjpeg
configure:39938: checking for jpeg_read_header in -ljpeg
configure:39959: gcc -o conftest -g -O2  -DLINUX=22 -DMOD_SSL=208101 -DEAPI -DEAPI_MM 
-DUSE_EXPAT -DSUPPORT_UTF8  -Wl,-rpath,/usr/local/jdk1.2.2/jre/lib/i386/classic 
-L/usr/local/jdk1.2.2/jre/lib/i386/classic 
-Wl,-rpath,/usr/local/jdk1.2.2/jre/lib/i386/native_threads 
-L/usr/local/jdk1.2.2/jre/lib/i386/native_threads 
-Wl,-rpath,/usr/local/jdk1.2.2/jre/lib/i386 -L/usr/local/jdk1.2.2/jre/lib/i386 
-Wl,-rpath,/usr/local/mnogosearch/lib -L/usr/local/mnogosearch/lib 
-Wl,-rpath,/usr/local/Hughes/lib -L/usr/local/Hughes/lib conftest.c -ljpeg 
-L/usr/lib
   -lz -lmsql -ludmsearch -lpq -lcrypt -lz -lcrypt -lresolv -lm -ldl -lnsl  
-lresolv 15
/tmp/ccxhNgGY.o: In function `main':
/usr/local/src/php-4.0.6/configure:39955: undefined reference to `jpeg_read_header'
collect2: ld returned 1 exit status
configure: failed program was:
#line 39948 configure
#include confdefs.h
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply.  */
char jpeg_read_header();

int main() {
jpeg_read_header()
; return 0; }


Previous Comments:
---

[2001-07-02 12:40:45] [EMAIL PROTECTED]

Can you add the config.log file to this report?

Derick

---

[2001-07-02 12:17:59] [EMAIL PROTECTED]

When trying to compile 4.0.6 with the same configuration as 4.0.5, configure complains 
that it can't find libjpeg, although the library files are located in the specified 
directory (/usr).  This is the output of configure:

checking whether to include PCRE support... yes
checking for memmove... (cached) yes
checking whether to include PDFlib support... yes
checking for the location of libjpeg... yes
checking for jpeg_read_header in -ljpeg... no
configure: error: libjpeg not found!

Here is my command line:

./configure 
--with-apxs=/usr/sbin/apxs 
--with-gettext=no 
--with-pgsql 
--with-msql=/usr/local/Hughes 
--with-mnogosearch=/usr/local/mnogosearch 
--without-mysql 
--without-gd 
--with-xml 
--with-dom=shared,/usr/local 
--with-java=/usr/local/jdk1.2.2 
--with-pdflib=/usr/local 
--with-pspell 
--enable-track-vars=yes 
--with-jpeg-dir=/usr 
--with-tiff-dir=/usr 
--with-zlib-dir=/usr 
--with-session=/tmp 
--enable-trans-sid



---


Full Bug description available at: http://bugs.php.net/?id=11840


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #11840 Updated: Can't find libjpeg after upgrade to 4.0.6

2001-07-02 Thread derick

ID: 11840
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Feedback
Bug Type: Compile Problem
Operating system: 
PHP Version: 4.0.6
Assigned To: 
Comments:

Can you let us know what this shows:

cd /usr/lib
nm [name of jpeg library.so] | grep jpeg_read_header

Is it possible that you have other version of the libarary on your system perhaps? En 
which version of the jpeg library do you have?

Derick

Previous Comments:
---

[2001-07-02 12:52:58] [EMAIL PROTECTED]

Here's the tail end of config.log:

configure:39416: checking whether to include PDFlib support
configure:39894: checking for the location of libjpeg
configure:39938: checking for jpeg_read_header in -ljpeg
configure:39959: gcc -o conftest -g -O2  -DLINUX=22 -DMOD_SSL=208101 -DEAPI -DEAPI_MM 
-DUSE_EXPAT -DSUPPORT_UTF8  -Wl,-rpath,/usr/local/jdk1.2.2/jre/lib/i386/classic 
-L/usr/local/jdk1.2.2/jre/lib/i386/classic 
-Wl,-rpath,/usr/local/jdk1.2.2/jre/lib/i386/native_threads 
-L/usr/local/jdk1.2.2/jre/lib/i386/native_threads 
-Wl,-rpath,/usr/local/jdk1.2.2/jre/lib/i386 -L/usr/local/jdk1.2.2/jre/lib/i386 
-Wl,-rpath,/usr/local/mnogosearch/lib -L/usr/local/mnogosearch/lib 
-Wl,-rpath,/usr/local/Hughes/lib -L/usr/local/Hughes/lib conftest.c -ljpeg 
-L/usr/lib
   -lz -lmsql -ludmsearch -lpq -lcrypt -lz -lcrypt -lresolv -lm -ldl -lnsl  
-lresolv 15
/tmp/ccxhNgGY.o: In function `main':
/usr/local/src/php-4.0.6/configure:39955: undefined reference to `jpeg_read_header'
collect2: ld returned 1 exit status
configure: failed program was:
#line 39948 configure
#include confdefs.h
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply.  */
char jpeg_read_header();

int main() {
jpeg_read_header()
; return 0; }


---

[2001-07-02 12:40:45] [EMAIL PROTECTED]

Can you add the config.log file to this report?

Derick

---

[2001-07-02 12:17:59] [EMAIL PROTECTED]

When trying to compile 4.0.6 with the same configuration as 4.0.5, configure complains 
that it can't find libjpeg, although the library files are located in the specified 
directory (/usr).  This is the output of configure:

checking whether to include PCRE support... yes
checking for memmove... (cached) yes
checking whether to include PDFlib support... yes
checking for the location of libjpeg... yes
checking for jpeg_read_header in -ljpeg... no
configure: error: libjpeg not found!

Here is my command line:

./configure 
--with-apxs=/usr/sbin/apxs 
--with-gettext=no 
--with-pgsql 
--with-msql=/usr/local/Hughes 
--with-mnogosearch=/usr/local/mnogosearch 
--without-mysql 
--without-gd 
--with-xml 
--with-dom=shared,/usr/local 
--with-java=/usr/local/jdk1.2.2 
--with-pdflib=/usr/local 
--with-pspell 
--enable-track-vars=yes 
--with-jpeg-dir=/usr 
--with-tiff-dir=/usr 
--with-zlib-dir=/usr 
--with-session=/tmp 
--enable-trans-sid



---



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11840edit=2


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #11840 Updated: Can't find libjpeg after upgrade to 4.0.6

2001-07-02 Thread pete

ID: 11840
User Update by: [EMAIL PROTECTED]
Old-Status: Feedback
Status: Open
Bug Type: Compile Problem
Operating system: Linux 2.4/RedHat 7.1
PHP Version: 4.0.6
Description: Can't find libjpeg after upgrade to 4.0.6

[pete@xx lib]$ nm libjpeg.so | grep jpeg_read_header
c2f0 T jpeg_read_header
[pete@xx lib]$ rpm -q libjpeg
libjpeg-6b-15
[pete@xx lib]$ ls | grep jpeg
libimlib-jpeg.a
libimlib-jpeg.so
libjpeg.a
libjpeg.la
libjpeg.so
libjpeg.so.62
libjpeg.so.62.0.0

Previous Comments:
---

[2001-07-02 13:01:16] [EMAIL PROTECTED]

Can you let us know what this shows:

cd /usr/lib
nm [name of jpeg library.so] | grep jpeg_read_header

Is it possible that you have other version of the libarary on your system perhaps? En 
which version of the jpeg library do you have?

Derick

---

[2001-07-02 12:52:58] [EMAIL PROTECTED]

Here's the tail end of config.log:

configure:39416: checking whether to include PDFlib support
configure:39894: checking for the location of libjpeg
configure:39938: checking for jpeg_read_header in -ljpeg
configure:39959: gcc -o conftest -g -O2  -DLINUX=22 -DMOD_SSL=208101 -DEAPI -DEAPI_MM 
-DUSE_EXPAT -DSUPPORT_UTF8  -Wl,-rpath,/usr/local/jdk1.2.2/jre/lib/i386/classic 
-L/usr/local/jdk1.2.2/jre/lib/i386/classic 
-Wl,-rpath,/usr/local/jdk1.2.2/jre/lib/i386/native_threads 
-L/usr/local/jdk1.2.2/jre/lib/i386/native_threads 
-Wl,-rpath,/usr/local/jdk1.2.2/jre/lib/i386 -L/usr/local/jdk1.2.2/jre/lib/i386 
-Wl,-rpath,/usr/local/mnogosearch/lib -L/usr/local/mnogosearch/lib 
-Wl,-rpath,/usr/local/Hughes/lib -L/usr/local/Hughes/lib conftest.c -ljpeg 
-L/usr/lib
   -lz -lmsql -ludmsearch -lpq -lcrypt -lz -lcrypt -lresolv -lm -ldl -lnsl  
-lresolv 15
/tmp/ccxhNgGY.o: In function `main':
/usr/local/src/php-4.0.6/configure:39955: undefined reference to `jpeg_read_header'
collect2: ld returned 1 exit status
configure: failed program was:
#line 39948 configure
#include confdefs.h
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply.  */
char jpeg_read_header();

int main() {
jpeg_read_header()
; return 0; }


---

[2001-07-02 12:40:45] [EMAIL PROTECTED]

Can you add the config.log file to this report?

Derick

---

[2001-07-02 12:17:59] [EMAIL PROTECTED]

When trying to compile 4.0.6 with the same configuration as 4.0.5, configure complains 
that it can't find libjpeg, although the library files are located in the specified 
directory (/usr).  This is the output of configure:

checking whether to include PCRE support... yes
checking for memmove... (cached) yes
checking whether to include PDFlib support... yes
checking for the location of libjpeg... yes
checking for jpeg_read_header in -ljpeg... no
configure: error: libjpeg not found!

Here is my command line:

./configure 
--with-apxs=/usr/sbin/apxs 
--with-gettext=no 
--with-pgsql 
--with-msql=/usr/local/Hughes 
--with-mnogosearch=/usr/local/mnogosearch 
--without-mysql 
--without-gd 
--with-xml 
--with-dom=shared,/usr/local 
--with-java=/usr/local/jdk1.2.2 
--with-pdflib=/usr/local 
--with-pspell 
--enable-track-vars=yes 
--with-jpeg-dir=/usr 
--with-tiff-dir=/usr 
--with-zlib-dir=/usr 
--with-session=/tmp 
--enable-trans-sid



---


Full Bug description available at: http://bugs.php.net/?id=11840


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #11840 Updated: Can't find libjpeg after upgrade to 4.0.6

2001-07-02 Thread derick

ID: 11840
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Feedback
Bug Type: Compile Problem
Operating system: 
PHP Version: 4.0.6
Assigned To: 
Comments:

I've exactly th esame config here, and I got no problems.
Can you try not to use the --with-jpeg-dir (as I didn't use that in my configure 
line).

Derick

Previous Comments:
---

[2001-07-02 13:08:18] [EMAIL PROTECTED]

[pete@xx lib]$ nm libjpeg.so | grep jpeg_read_header
c2f0 T jpeg_read_header
[pete@xx lib]$ rpm -q libjpeg
libjpeg-6b-15
[pete@xx lib]$ ls | grep jpeg
libimlib-jpeg.a
libimlib-jpeg.so
libjpeg.a
libjpeg.la
libjpeg.so
libjpeg.so.62
libjpeg.so.62.0.0

---

[2001-07-02 13:01:16] [EMAIL PROTECTED]

Can you let us know what this shows:

cd /usr/lib
nm [name of jpeg library.so] | grep jpeg_read_header

Is it possible that you have other version of the libarary on your system perhaps? En 
which version of the jpeg library do you have?

Derick

---

[2001-07-02 12:52:58] [EMAIL PROTECTED]

Here's the tail end of config.log:

configure:39416: checking whether to include PDFlib support
configure:39894: checking for the location of libjpeg
configure:39938: checking for jpeg_read_header in -ljpeg
configure:39959: gcc -o conftest -g -O2  -DLINUX=22 -DMOD_SSL=208101 -DEAPI -DEAPI_MM 
-DUSE_EXPAT -DSUPPORT_UTF8  -Wl,-rpath,/usr/local/jdk1.2.2/jre/lib/i386/classic 
-L/usr/local/jdk1.2.2/jre/lib/i386/classic 
-Wl,-rpath,/usr/local/jdk1.2.2/jre/lib/i386/native_threads 
-L/usr/local/jdk1.2.2/jre/lib/i386/native_threads 
-Wl,-rpath,/usr/local/jdk1.2.2/jre/lib/i386 -L/usr/local/jdk1.2.2/jre/lib/i386 
-Wl,-rpath,/usr/local/mnogosearch/lib -L/usr/local/mnogosearch/lib 
-Wl,-rpath,/usr/local/Hughes/lib -L/usr/local/Hughes/lib conftest.c -ljpeg 
-L/usr/lib
   -lz -lmsql -ludmsearch -lpq -lcrypt -lz -lcrypt -lresolv -lm -ldl -lnsl  
-lresolv 15
/tmp/ccxhNgGY.o: In function `main':
/usr/local/src/php-4.0.6/configure:39955: undefined reference to `jpeg_read_header'
collect2: ld returned 1 exit status
configure: failed program was:
#line 39948 configure
#include confdefs.h
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply.  */
char jpeg_read_header();

int main() {
jpeg_read_header()
; return 0; }


---

[2001-07-02 12:40:45] [EMAIL PROTECTED]

Can you add the config.log file to this report?

Derick

---

[2001-07-02 12:17:59] [EMAIL PROTECTED]

When trying to compile 4.0.6 with the same configuration as 4.0.5, configure complains 
that it can't find libjpeg, although the library files are located in the specified 
directory (/usr).  This is the output of configure:

checking whether to include PCRE support... yes
checking for memmove... (cached) yes
checking whether to include PDFlib support... yes
checking for the location of libjpeg... yes
checking for jpeg_read_header in -ljpeg... no
configure: error: libjpeg not found!

Here is my command line:

./configure 
--with-apxs=/usr/sbin/apxs 
--with-gettext=no 
--with-pgsql 
--with-msql=/usr/local/Hughes 
--with-mnogosearch=/usr/local/mnogosearch 
--without-mysql 
--without-gd 
--with-xml 
--with-dom=shared,/usr/local 
--with-java=/usr/local/jdk1.2.2 
--with-pdflib=/usr/local 
--with-pspell 
--enable-track-vars=yes 
--with-jpeg-dir=/usr 
--with-tiff-dir=/usr 
--with-zlib-dir=/usr 
--with-session=/tmp 
--enable-trans-sid



---

The remainder of the comments for this report are too long.
To view the rest of the comments, please
view the bug report online.


ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11840edit=2


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #11840 Updated: Can't find libjpeg after upgrade to 4.0.6

2001-07-02 Thread pete

ID: 11840
User Update by: [EMAIL PROTECTED]
Old-Status: Feedback
Status: Open
Bug Type: Compile Problem
Operating system: Linux 2.4/RedHat 7.1
PHP Version: 4.0.6
Description: Can't find libjpeg after upgrade to 4.0.6

Configure will complete without errors if I leave out --with-jpeg-dir.  Of course, 
PDFlib probably won't let me use JPEG files now, but that's not a problem for me.

Previous Comments:
---

[2001-07-02 13:28:38] [EMAIL PROTECTED]

I've exactly th esame config here, and I got no problems.
Can you try not to use the --with-jpeg-dir (as I didn't use that in my configure 
line).

Derick

---

[2001-07-02 13:08:18] [EMAIL PROTECTED]

[pete@xx lib]$ nm libjpeg.so | grep jpeg_read_header
c2f0 T jpeg_read_header
[pete@xx lib]$ rpm -q libjpeg
libjpeg-6b-15
[pete@xx lib]$ ls | grep jpeg
libimlib-jpeg.a
libimlib-jpeg.so
libjpeg.a
libjpeg.la
libjpeg.so
libjpeg.so.62
libjpeg.so.62.0.0

---

[2001-07-02 13:01:16] [EMAIL PROTECTED]

Can you let us know what this shows:

cd /usr/lib
nm [name of jpeg library.so] | grep jpeg_read_header

Is it possible that you have other version of the libarary on your system perhaps? En 
which version of the jpeg library do you have?

Derick

---

[2001-07-02 12:52:58] [EMAIL PROTECTED]

Here's the tail end of config.log:

configure:39416: checking whether to include PDFlib support
configure:39894: checking for the location of libjpeg
configure:39938: checking for jpeg_read_header in -ljpeg
configure:39959: gcc -o conftest -g -O2  -DLINUX=22 -DMOD_SSL=208101 -DEAPI -DEAPI_MM 
-DUSE_EXPAT -DSUPPORT_UTF8  -Wl,-rpath,/usr/local/jdk1.2.2/jre/lib/i386/classic 
-L/usr/local/jdk1.2.2/jre/lib/i386/classic 
-Wl,-rpath,/usr/local/jdk1.2.2/jre/lib/i386/native_threads 
-L/usr/local/jdk1.2.2/jre/lib/i386/native_threads 
-Wl,-rpath,/usr/local/jdk1.2.2/jre/lib/i386 -L/usr/local/jdk1.2.2/jre/lib/i386 
-Wl,-rpath,/usr/local/mnogosearch/lib -L/usr/local/mnogosearch/lib 
-Wl,-rpath,/usr/local/Hughes/lib -L/usr/local/Hughes/lib conftest.c -ljpeg 
-L/usr/lib
   -lz -lmsql -ludmsearch -lpq -lcrypt -lz -lcrypt -lresolv -lm -ldl -lnsl  
-lresolv 15
/tmp/ccxhNgGY.o: In function `main':
/usr/local/src/php-4.0.6/configure:39955: undefined reference to `jpeg_read_header'
collect2: ld returned 1 exit status
configure: failed program was:
#line 39948 configure
#include confdefs.h
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply.  */
char jpeg_read_header();

int main() {
jpeg_read_header()
; return 0; }


---

[2001-07-02 12:40:45] [EMAIL PROTECTED]

Can you add the config.log file to this report?

Derick

---

The remainder of the comments for this report are too long.
To view the rest of the comments, please
view the bug report online.

Full Bug description available at: http://bugs.php.net/?id=11840


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]