Error: shared library "expat.5" does not exist

2006-06-23 Thread Rob Szarka


I'm running into a problem compiling several PHP extensions that 
depend on expat. They die with an error like the following:


***

===>   fontconfig-2.2.3,1 depends on shared library: expat.5 - not found
===>Verifying install for expat.5 in /usr/ports/textproc/expat2
===>   Returning to build of fontconfig-2.2.3,1
Error: shared library "expat.5" does not exist
*** Error code 1

Stop in /usr/ports/x11-fonts/fontconfig.
*** Error code 1

Stop in /usr/ports/x11/xorg-libraries.
*** Error code 1

Stop in /usr/ports/devel/t1lib.
*** Error code 1

Stop in /usr/ports/graphics/php5-gd.
*** Error code 1

Stop in /usr/ports/lang/php5-extensions.

**

I have the following in /usr/ports/local:

-rw-r--r--  1 root  wheel  158440 Jun 23 11:03 /usr/local/lib/libexpat.a
-rwxr-xr-x  1 root  wheel 793 Jun 23 11:03 /usr/local/lib/libexpat.la
lrwxr-xr-x  1 root  wheel  13 Jun 23 11:03 
/usr/local/lib/libexpat.so -> libexpat.so.6

-rwxr-xr-x  1 root  wheel  157398 Jun 23 11:03 /usr/local/lib/libexpat.so.6

But not expat*

It would seem that fontconfig is looking explicitly for expat.5 and 
that perhaps the name of the library has changed?


LIB_DEPENDS=freetype.9:${PORTSDIR}/print/freetype2 \
expat.5:${PORTSDIR}/textproc/expat2

I did follow this advice in UPGRADING, to no avail: "Users of expat2 
(and its many dependencies) should do the following to  properly 
update expat2 and all of its dependencies: portupgrade -rf textproc/expat2"


Any suggestions about how to fix or work around this issue?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Error: shared library "expat.5" does not exist

2006-06-28 Thread Rob Szarka


[Giving this another try, in case everyone was busy watching the 
world cup the first time  ;) ]


I'm running into a problem compiling several PHP extensions that 
depend on expat. They die with an error like the following:


***

===>   fontconfig-2.2.3,1 depends on shared library: expat.5 - not found
===>Verifying install for expat.5 in /usr/ports/textproc/expat2
===>   Returning to build of fontconfig-2.2.3,1
Error: shared library "expat.5" does not exist
*** Error code 1

Stop in /usr/ports/x11-fonts/fontconfig.
*** Error code 1

Stop in /usr/ports/x11/xorg-libraries.
*** Error code 1

Stop in /usr/ports/devel/t1lib.
*** Error code 1

Stop in /usr/ports/graphics/php5-gd.
*** Error code 1

Stop in /usr/ports/lang/php5-extensions.

**

I have the following in /usr/ports/local:

-rw-r--r--  1 root  wheel  158440 Jun 23 11:03 /usr/local/lib/libexpat.a
-rwxr-xr-x  1 root  wheel 793 Jun 23 11:03 /usr/local/lib/libexpat.la
lrwxr-xr-x  1 root  wheel  13 Jun 23 11:03 
/usr/local/lib/libexpat.so -> libexpat.so.6

-rwxr-xr-x  1 root  wheel  157398 Jun 23 11:03 /usr/local/lib/libexpat.so.6

But not expat*

It would seem that fontconfig is looking explicitly for expat.5 and 
that perhaps the name of the library has changed?


LIB_DEPENDS=freetype.9:${PORTSDIR}/print/freetype2 \
expat.5:${PORTSDIR}/textproc/expat2

I did follow this advice in UPGRADING, to no avail: "Users of expat2 
(and its many dependencies) should do the following to  properly 
update expat2 and all of its dependencies: portupgrade -rf textproc/expat2"


Any suggestions about how to fix or work around this issue?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Error: shared library "expat.5" does not exist

2006-06-29 Thread Lowell Gilbert
Rob Szarka <[EMAIL PROTECTED]> writes:

> [Giving this another try, in case everyone was busy watching the world
> cup the first time  ;) ]

Around here, the professional season is nearing its halfway point...

> I'm running into a problem compiling several PHP extensions that
> depend on expat. They die with an error like the following:
>
> ***
>
> ===>   fontconfig-2.2.3,1 depends on shared library: expat.5 - not found
> ===>Verifying install for expat.5 in /usr/ports/textproc/expat2
> ===>   Returning to build of fontconfig-2.2.3,1
> Error: shared library "expat.5" does not exist
> *** Error code 1
>
> Stop in /usr/ports/x11-fonts/fontconfig.
> *** Error code 1
>
> Stop in /usr/ports/x11/xorg-libraries.
> *** Error code 1
>
> Stop in /usr/ports/devel/t1lib.
> *** Error code 1
>
> Stop in /usr/ports/graphics/php5-gd.
> *** Error code 1
>
> Stop in /usr/ports/lang/php5-extensions.
>
> **
>
> I have the following in /usr/ports/local:
>
> -rw-r--r--  1 root  wheel  158440 Jun 23 11:03 /usr/local/lib/libexpat.a
> -rwxr-xr-x  1 root  wheel 793 Jun 23 11:03 /usr/local/lib/libexpat.la
> lrwxr-xr-x  1 root  wheel  13 Jun 23 11:03
> /usr/local/lib/libexpat.so -> libexpat.so.6
> -rwxr-xr-x  1 root  wheel  157398 Jun 23 11:03 /usr/local/lib/libexpat.so.6
>
> But not expat*
>
> It would seem that fontconfig is looking explicitly for expat.5 and
> that perhaps the name of the library has changed?
>
> LIB_DEPENDS=freetype.9:${PORTSDIR}/print/freetype2 \
> expat.5:${PORTSDIR}/textproc/expat2

Because it's a "LIB_DEPENDS", the "lib" will automatically be
prepended to the filename.  

The problem is that 

> I did follow this advice in UPGRADING, to no avail: "Users of expat2
> (and its many dependencies) should do the following to  properly
> update expat2 and all of its dependencies: portupgrade -rf
> textproc/expat2"

You didn't update the x11-fonts/fontconfig /Makefile at the same time,
or it would be looking for expat.6, not expat.5.

> Any suggestions about how to fix or work around this issue?

Update your whole ports tree.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Error: shared library "expat.5" does not exist

2006-06-29 Thread Rob Szarka

At 01:26 PM 6/29/2006, Lowell Gilbert wrote:

Because it's a "LIB_DEPENDS", the "lib" will automatically be
prepended to the filename.


Ah, good to know. I was closer than I thought, then.


You didn't update the x11-fonts/fontconfig /Makefile at the same time,
or it would be looking for expat.6, not expat.5.

> Any suggestions about how to fix or work around this issue?

Update your whole ports tree.


Ah-ha! Yup, I think you've nailed it. I had left the X11 stuff 
commented out in my supfile, since I don't actually use X per se. 
Fixed that and it looks like it's going to make it to the end of the 
compile this time. *fingers crossed* Thanks!


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Error: shared library "expat.5" does not exist

2006-06-29 Thread Rob Szarka

At 04:41 AM 6/29/2006, you wrote:

First, I believe that the port has been updated to:
linux-fontconfig-2-2.4_4 in the ports system. You could try this
procedure.

1) Update your ports tree
2) Install 'portmanager' if it is not already installed
3) Run: portmanager x11-fonts/linux-fontconfig -l -f -y

That will create a log file, '/var/log/portmanager.log' that you can
inspect after the process ends. If it does not complete successfully,
you will have a better idea of what the problem is.


Yup, see my previous reply: I wasn't updating the X11 ports in my 
supfile. But, this brings up another issue...


Thanks for the tip about portmanager. However, I use usually execute 
make directly. In fact, what I *like* do is something like "make | 
tee logfile.txt" so I can go back and inspect the output. But a 
number of ports execute a gtk(?)-based config that displays 
full-screen. When using tee (or, of course, redirecting output 
via >), it's next to impossible to navigate around the config screen 
in my term.


Any suggestions on how to deal with this? Is there a way to get them 
to use a traditional configure dialog that presents one option at a time?


(I was baffled the first time one of these screens popped up. It just 
seems so antithetical to the whole compiling from source thing, 
y'know? Like gourmet cooking in a microwave or something...)


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"