Re: [AD] 4.0.2 releasei/CVS

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 2002-06-16, Eric <ebotcazou@xxxxxxxxxx> wrote:
> > Warning: shared library destination /home/eglebbk/lib is not in ldd search
> > path. Unless you add it to /etc/ld.so.conf, you must set LD_LIBRARY_PATH
> > to include /home/eglebbk/lib each time you want to run an Allegro program.
> 
> I actually get the very same message on my Linux box, because
> /usr/local/lib is not in the library path for 'root'.

@@ -325,7 +325,7 @@
        @echo Installing allegro-config to $(bindir)
        @$(INSTALL_PROGRAM) allegro-config $(bindir)
        @if test -n "$(LIBDIR)/liball*-$(shared_version).so"; then \
-               (grep -q $(libdir) /etc/ld.so.conf || \
+               (echo $(libdir) | grep /etc/ld.so.conf >/dev/null || \
                 test $(libdir) = /lib || test $(libdir) = /usr/lib) \
                && ($(LDCONFIG) $(libdir) || true) || (\
                        echo "" ; \

Argh, back it out, back it out!

See the man page if you need to know why ;-)

> > Running remotely and using the close button crashes the tests/test
> > program, though. I don't recall having this problem with 4.0.1 running
> > locally, but I didn't test it extensively. I'll need to investigate some
> > more to pin it down.
> 
> Peter recently modified the way the close button is handled under X11.
> Perhaps a remote problem.

I won't be looking until at least Thursday.

-- 
王浩禎



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/