Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Feb 2012 08:18:49 -0600
From:      Ryan Frederick <ryanrfrederick@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: /lib/exec/ld-elf.so.1: Shared object "libpcre.so.0" not found,  required by "libxfsm-4.6.so.0" amd64 FreeBSD 8.2
Message-ID:  <4F3D1049.2070006@gmail.com>
In-Reply-To: <CAJ5UdcMsdB3P-jUMz_dsueEt2u7HzDB2bLCBbSQbsQYsKPY-7w@mail.gmail.com>
References:  <CAJ5UdcNTuHrdA-_ytvKcTBU94DWWkKydLsyqs9%2B9=wRBiFU0FA@mail.gmail.com>	<201202160333.q1G3XHc3043810@mail.r-bonomi.com> <CAJ5UdcMsdB3P-jUMz_dsueEt2u7HzDB2bLCBbSQbsQYsKPY-7w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
It looks like others have run into this problem with avahi-app as well:

http://lists.freebsd.org/pipermail/freebsd-ports/2011-July/068658.html

A cursory search shows that uninstalling avahi-app then reinstalling 
should take care of the compilation failure. Afterward you should be 
able to run portmaster as shown in the error message (minus 
'net/avahi-app') to finish recompiling the ports that depend on pcre.

Ryan

On 02/15/2012 10:55 PM, Antonio Olivares wrote:
> On Wed, Feb 15, 2012 at 9:33 PM, Robert Bonomi<bonomi@mail.r-bonomi.com>  wrote:
>> Antonio Olivares<olivares14031@gmail.com>  wrote;
>>
>>>   I am doing this and see how it goes.  I used ldd to check for
>>> libprce.so and I got :
>>>
>>> ldd /usr/local/lib/libprce.so:
>>>          libc.so.7 =>  /lib/libc.so.7 (0x800647000)
>>> ldd /usr/local/lib/libprce.so.1:
>>>          libc.so.7 =>  /lib/libc.so.7 (0x800647000)
>>>
>>> There are two of them :(  Should there be only one?
>>
>> This is _normal_.  The .so (with no further sufix), is generally just a link
>> to the 'latest' .so *with* a numeric suffix.
>>
>>
>
> I am in a not good state now.  I broke two machines by updating to
> latest and get the same error on both machines.
> I get the /libexec/ld-elf.so.1: Shared object "libpcre.so.0" is needed
> by * and nothing works, I run
>
> # portmaster -r pcre-8.30
>
> and it bombs out with the following:
>
> signals-marshal.c:186: warning: ISO C forbids conversion of object
> pointer to function pointer type
>    CC     libavahi_gobject_la-ga-client-enumtypes.lo
>    CC     libavahi_gobject_la-ga-entry-group-enumtypes.lo
>    CC     libavahi_gobject_la-ga-enums-enumtypes.lo
>    CCLD   libavahi-gobject.la
>    GISCAN Avahi-0.6.gir
> g-ir-scanner: warning: Option --strip-prefix has been deprecated;
> see --identifier-prefix and --symbol-prefix.
> /usr/include/machine/endian.h:123: syntax error, unexpected '{' in '
> return (__extension__ ({ register __uint64_t __X = (_x); __asm ("bswap
> %0" : "+r" (__X)); __X; }));' at '{'
> /usr/include/machine/endian.h:123: syntax error, unexpected ';' in '
> return (__extension__ ({ register __uint64_t __X = (_x); __asm ("bswap
> %0" : "+r" (__X)); __X; }));' at ';'
> /usr/include/machine/endian.h:130: syntax error, unexpected '{' in '
> return (__extension__ ({ register __uint32_t __X = (_x); __asm ("bswap
> %0" : "+r" (__X)); __X; }));' at '{'
> /usr/include/machine/endian.h:130: syntax error, unexpected ';' in '
> return (__extension__ ({ register __uint32_t __X = (_x); __asm ("bswap
> %0" : "+r" (__X)); __X; }));' at ';'
> /libexec/ld-elf.so.1: Shared object "libpcre.so.0" not found, required
> by "libavahi-glib.so.1"
> Command '['/usr/ports/net/avahi-app/work/avahi-0.6.29/avahi-gobject/tmp-introspectGYNEXM/Avahi-0.6',
> '--introspect-dump=/usr/ports/net/avahi-app/work/avahi-0.6.29/avahi-gobject/tmp-introspectGYNEXM/types.txt,/usr/ports/net/avahi-app/work/avahi-0.6.29/avahi-gobject/tmp-introspectGYNEXM/dump.xml']'
> returned non-zero exit status 1
> gmake[3]: *** [Avahi-0.6.gir] Error 1
> gmake[3]: Leaving directory
> `/usr/ports/net/avahi-app/work/avahi-0.6.29/avahi-gobject'
> gmake[2]: *** [all] Error 2
> gmake[2]: Leaving directory
> `/usr/ports/net/avahi-app/work/avahi-0.6.29/avahi-gobject'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/usr/ports/net/avahi-app/work/avahi-0.6.29'
> gmake: *** [all] Error 2
> *** Error code 1
>
> Stop in /usr/ports/net/avahi-app.
>
> ===>>>  make failed for net/avahi-app
> ===>>>  Aborting update
>
> ===>>>  Update for avahi-app-0.6.29_1 failed
> ===>>>  Aborting update
>
> ===>>>  Update for gvfs-1.6.6_2 failed
> ===>>>  Aborting update
>
> ===>>>  Update for Thunar-1.3.0 failed
> ===>>>  Aborting update
>
> Terminated
> ===>>>  There are messages from installed ports to display,
>         but first take a moment to review the error messages
>         above.  Then press Enter when ready to proceed.
>
> ===>>>  pkg-message for gamin-0.1.10_4
> ===============================================================================
>
> Gamin will only provide realtime notification of changes for at most n files,
> where n is the minimum value between (kern.maxfiles * 0.7) and
> (kern.maxfilesperproc - 200). Beyond that limit, files will be polled.
>
> If you often open several large folders with Nautilus, you might want to
> increase the kern.maxfiles tunable (you do not need to set
> kern.maxfilesperproc, since it is computed at boot time from kern.maxfiles).
>
> For a typical desktop, add the following line to /boot/loader.conf, then
> reboot the system:
>
>      kern.maxfiles="25000"
>
> The behavior of gamin can be controlled via the various gaminrc files.
> See http://www.gnome.org/~veillard/gamin/config.html on how to create
> these files.  In particular, if you find gam_server is taking up too much
> CPU time polling for changes, something like the following may help
> in one of the gaminrc files:
>
> # reduce polling frequency to once per 10 seconds
> # for UFS file systems in order to lower CPU load
> fsset ufs poll 10
>
> ===============================================================================
>
> ===>>>  pkg-message for liblqr-1-0.4.1_2
> ==========================================================================
> NOTE: In order to compile examples for liblqr, you will
> also need pngwriter port (/usr/ports/graphics/pngwriter).
> Examples are located in /usr/local/share/examples/liblqr-1
> ==========================================================================
>
> ===>>>  Done displaying pkg-message files
>
> ===>>>  The following actions were performed:
> 	Re-installation of pcre-8.30
> 	Re-installation of glib-2.28.8_4
> 	Re-installation of gamin-0.1.10_4
> 	Re-installation of gio-fam-backend-2.28.8_1
> 	Re-installation of liblqr-1-0.4.1_2
> 	Re-installation of cairo-1.10.2_3,1
> 	Re-installation of gobject-introspection-0.10.8_1
> 	Re-installation of atk-2.0.1
> 	Re-installation of libIDL-0.8.14_1
> 	Re-installation of ORBit2-2.14.19
> 	Re-installation of dbus-glib-0.94
> 	Re-installation of libgee-0.6.2.1
> 	Re-installation of vala-0.12.1
> 	Re-installation of gdk-pixbuf-2.23.5_1
> 	Re-installation of pango-1.28.4
> 	Re-installation of shared-mime-info-0.90
> 	Re-installation of gtk-update-icon-cache-2.24.6
> 	Re-installation of gtk-2.24.6
> 	Re-installation of dconf-0.5.1_3
> 	Re-installation of eggdbus-0.6_1
> 	Re-installation of polkit-0.99
> 	Re-installation of gconf2-2.32.0_2
> 	Re-installation of libgsf-1.14.21
> 	Re-installation of libcroco-0.6.2_1
> 	Re-installation of gtk-engines2-2.20.2
> 	Re-installation of librsvg2-2.34.1
> 	Re-installation of ImageMagick-6.7.4.4_1
> 	Re-installation of desktop-file-utils-0.18
> 	Re-installation of vte-0.26.2
> 	Re-installation of libxfce4util-4.8.2
> 	Re-installation of libexo-0.6.2_1
> 	Re-installation of Terminal-0.4.8
> 	Re-installation of poppler-0.18.0
> 	Re-installation of poppler-glib-0.18.0
> 	Re-installation of gstreamer-0.10.35
> 	Re-installation of gstreamer-plugins-0.10.35_1,3
> 	Re-installation of xfce4-tumbler-0.1.23
> 	Re-installation of gsettings-desktop-schemas-3.0.1
> 	Re-installation of glib-networking-2.28.7_3
> 	Re-installation of libsoup-2.34.3
> 	Re-installation of libgnome-keyring-2.32.0_1
> 	Re-installation of libsoup-gnome-2.34.3_1
>
>
> ===>>>  You can restart from the point of failure with this command line:
>         portmaster<flags>  x11-fm/thunar devel/gvfs net/avahi-app
> sysutils/gnome-mount devel/libnotify sysutils/hal sysutils/consolekit
> sysutils/policykit sysutils/policykit-gnome x11-wm/xfce4-panel
> sysutils/garcon x11-toolkits/libwnck x11/libxfce4menu x11/xfce4-conf
> print/apsfilter devel/automoc4 devel/qt4-corelib devel/doxygen
> graphics/graphviz print/teTeX print/cm-super print/teTeX-base
> print/teTeX-texmf print/tex-texmflocal textproc/qt4-xml
> x11-toolkits/qt4-gui multimedia/dvdauthor graphics/evince
> devel/libglade2 devel/py-gobject graphics/py-cairo
> misc/gnome-icon-theme print/libspectre x11-fm/nautilus
> x11-toolkits/py-gtk2 x11-toolkits/unique x11/gnome-desktop www/firefox
> sysutils/gkrellm2 security/gnome-keyring math/gnuplot
> x11-toolkits/wxgtk28 x11-toolkits/wxgtk28-common
> multimedia/gstreamer-plugins-good x11-themes/gtk-xfce-engine
> editors/libreoffice graphics/libwpg textproc/libwpd textproc/libwps
> textproc/redland textproc/rasqal comms/libticables2 comms/libticalcs2
> converters/libticonv devel/libtifiles2 x11-toolkits/libxfce4gui
> x11/libxklavier www/libxul multimedia/lxdvdrip multimedia/mplayer
> multimedia/transcode databases/mdbtools editors/mousepad
> deskutils/orage multimedia/phonon devel/dbus-qt4 sysutils/qzeitgeist
> devel/qt4-qtestlib multimedia/phonon-gstreamer x11/qt4-opengl
> graphics/poppler-qt4 graphics/poppler-utils devel/qt4-declarative
> databases/qt4-sql devel/qt4-script graphics/qt4-svg net/qt4-network
> textproc/qt4-xmlpatterns devel/qt4-scripttools www/qt4-webkit
> graphics/ristretto archivers/squeeze x11-fm/thunar-vfs
> emulators/tiemu3 sysutils/upower x11-wm/xfce4 audio/xfce4-mixer
> misc/xfce4-appfinder print/xfce4-print sysutils/xfce4-settings
> sysutils/xfce4-utils x11-wm/xfce4-desktop x11-wm/xfce4-session
> x11-wm/xfce4-wm x11/xfce4-screenshooter-plugin
> sysutils/xfce4-systemload-plugin x11/xorg x11/xorg-apps graphics/xsane
>
>
> How can such a simple update break the whole system?  Last time I had
> to rebuild everything that depended on something because X broke,
> using Xfce if it matters in this caes.
> Ideas, suggestions, advice, and comments are greatly appreciated.
> Otherwise, I am thinking of pulling the trigger and update to 9.0
> release and hopefully there, things will not break like here.
>
> Thanks and sorry for the noise, but I thought that the update was
> going to work on both machines and both bombed out on the same place.
> Luckily on this one, firefox at least worked to send this message.
>
> mplayer does not work:
>
> [olivares@quadcore ~]$ mplayer
> /libexec/ld-elf.so.1: Shared object "libpcre.so.0" not found, required
> by "libgtk-x11-2.0.so.0"
>
> firefox did not work, but now does miraculously, thanks to some
> miracle.  I clicked on the menu link and nothing happened, I clicked
> on the XFCE bottom panel to launch firefox and nothing happened, I
> went to the terminal and typed firefox, and I got :
>
> [olivares@quadcore ~]$ firefox
> /libexec/ld-elf.so.1: Shared object "libpcre.so.0" not found, required
> by "libdbus-glib-1.so.2"
>
> But later clicked on the menu and it worked.
>
> Regards,
>
> Antonio
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



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