In article <[email protected]>,
Tzafrir Cohen <[email protected]> wrote:
> On Wed, Apr 04, 2018 at 11:28:33AM +0000, Tony Mountifield wrote:
> > In article 
> > <cald46g3wz8kajro4_nde211osv8paxfdszw-g6t2qxjlk-y...@mail.gmail.com>,
> > Richard Mudgett <[email protected]> wrote:
> > > 
> > > The libpri makefile doesn't install things for 64 bit systems in the right
> > > place [1] without your help.  You'll need to specify where to install the
> > > library on the command line for your system:
> > > 
> > > sudo make install libdir=/usr/lib64
> > > 
> > > 
> > > Richard
> > > 
> > > [1] https://issues.asterisk.org/jira/browse/PRI-100
> > 
> > Ah, thanks. I did in fact discover the following 64-bit libraries were
> > installed into /usr/lib instead of /usr/lib64:
> > 
> > 1. From DAHDI, libtonezone.so
> 
> dahdi-tools 2.11 now uses autoconf. It still installs to /usr/lib or is
> it an older version?

I compiled dahdi-linux-complete-2.11.1+2.11.1, by doing:

make
make install
make config
make -C tools install-config

In fact I did all the above with a DESTDIR=$DESTDIR appended to each line,
as I was building a binary bundle for system building.

Before doing so I also did:

mkdir -p $DESTDIR/etc/udev/rules.d $DESTDIR/etc/rc.d/init.d 
$DESTDIR/etc/sysconfig/network-scripts

Maybe that defeated autoconf, and made it default to /usr/lib?
If I had also done a mkdir $DESTDIR/usr/lib64 before building, maybe
autoconf would have found it?

But in any case, running ldconfig made everything get found:

[root@bridge05 ~]# ldconfig -p | fgrep -v lib64
552 libs found in cache `/etc/ld.so.cache'
        libtonezone.so.2 (libc6,x86-64) => /usr/lib/libtonezone.so.2
        libtonezone.so (libc6,x86-64) => /usr/lib/libtonezone.so
        libpri.so.1.4 (libc6,x86-64) => /usr/lib/libpri.so.1.4
        libpri.so (libc6,x86-64) => /usr/lib/libpri.so
        libasteriskssl.so.1 (libc6,x86-64) => /usr/lib/libasteriskssl.so.1
        libasteriskssl.so (libc6,x86-64) => /usr/lib/libasteriskssl.so
[root@bridge05 ~]#

Cheers
Tony
-- 
Tony Mountifield
Work: [email protected] - http://www.softins.co.uk
Play: [email protected] - http://tony.mountifield.org

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to