[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #53564] Can't use a different gl2ps library th

From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #53564] Can't use a different gl2ps library than the standard one without LD_PRELOAD
Date: Thu, 5 Apr 2018 07:59:50 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0


                 Summary: Can't use a different gl2ps library than the
standard one without LD_PRELOAD 
                 Project: GNU Octave
            Submitted by: pantxo
            Submitted on: Thu 05 Apr 2018 11:59:48 AM UTC
                Category: Configuration and Build System
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Regression
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux



I have the stable gl2ps installed in a standard location by my package manager
(I am on debian stretch) and I routinely use the dev version of gl2ps for
building dev Octave using the following configure flags:

./configure --prefix=/home/pd218333/Documents/On/octavebuild/local \
CFLAGS="-I/home/somewhere/gl2ps/" \
CXXFLAGS="-I/home/somewhere/gl2ps/" \
LDFLAGS="-L/home/somewhere/gl2ps/ -lgl2ps" \

The first problem, which has always (to my knowledge) been there, is that I
need to preload the right version of libgl2ps.so in order to execute
run-octave or the system gl2ps is loaded 

LD_PRELOAD="/home/somewhere/gl2ps/libgl2ps.so" ./run-octave

This trick used to not be necessary (up to when ???) for running an installed
version of dev octave. IOW

make install
/my/prefix/bin/octave ## previously worked
LD_PRELOAD="/home/somewhere/gl2ps/libgl2ps.so" /my/prefix/bin/octave ##
currently necessary


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]