Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Apr 1998 15:55:36 -0400 (EDT)
From:      Mikhail Teterin <mi@video-collage.com>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/6408: New jpeg port does not build if the old libs are around
Message-ID:  <199804241955.PAA18044@xxx.video-collage.com>

next in thread | raw e-mail | index | archive | help

>Number:         6408
>Category:       ports
>Synopsis:       New jpeg port does not link if the older libs are around
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 24 13:00:00 PDT 1998
>Last-Modified:
>Originator:     Mikhail Teterin
>Organization:
>Release:        FreeBSD 2.2.6-BETA i386
>Environment:

	Port jpeg-6a installed

>Description:

./libtool --mode=link /usr/local/bin/gcc  -o jpegtran jpegtran.lo rdswitch.lo cdjpeg.lo transupp.lo libjpeg.la 
LD_LIBRARY_PATH=".libs:$LD_LIBRARY_PATH" /usr/local/bin/gcc -o .libs/jpegtran jpegtran.o rdswitch.o cdjpeg.o transupp.o -R/usr/local/lib -ljpeg
transupp.o: Undefined symbol `_jpeg_save_markers' referenced from text segment
transupp.o: Undefined symbol `_jpeg_save_markers' referenced from text segment
*** Error code 1

>How-To-Repeat:

	Make sure you have older libjpeg in the /usr/local/lib
	cd /usr/ports/graphics/jpeg
	make

	I use the latest gcc28 for this (with -shared patch).

>Fix:
	
	bzip -9 /usr/local/libjpeg*
	make
	make install
	bunzip /usr/local/libjpeg*bz

>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804241955.PAA18044>