From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Tue, 4 Mar 2014 12:55:48 +0400 Message-ID: From: Alexander Sychev To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=20cf3079bf1405dd3304f3c4120c Subject: Re: [9fans] p9p on 64 bit Linux Topicbox-Message-UUID: c36e4c5a-ead8-11e9-9d60-3106f5b1d025 --20cf3079bf1405dd3304f3c4120c Content-Type: text/plain; charset=ISO-8859-1 Hi, I think, you should check the ld cache: ldconfig -p | grep libX11.so Also you can run ldd $PLAN9/bin/devdraw and check some other dependencies from X world On Tue, Mar 4, 2014 at 6:58 AM, Blake McBride wrote: > Greetings, > > I am trying to build p9p with the latest LinuxMint on a 64 bit machine. > In addition to the normal stuff, I think I had to install packages: > > libxt-dev > libxext-dev > > It built fine, but what I run it I get: > > blake@sony-linux-laptop ~ $ acme > acme: error while loading shared libraries: libX11.so.6: cannot open > shared object file: No such file or directory > blake@sony-linux-laptop ~ $ > > > I have: > > blake@sony-linux-laptop /usr/lib $ find . -name 'libX11*' > ./x86_64-linux-gnu/libX11-xcb.so.1.0.0 > ./x86_64-linux-gnu/libX11.a > ./x86_64-linux-gnu/libX11.so.6.3.0 > ./x86_64-linux-gnu/libX11-xcb.so.1 > ./x86_64-linux-gnu/libX11.so.6 > ./x86_64-linux-gnu/libX11.so > > > I think it may be looking for 32 bit shared libraries. I am not sure how > things are getting built on a 64 bit environment. Your help is greatly > appreciated. > > Thanks. > > Blake McBride > > -- Best regards, santucco --20cf3079bf1405dd3304f3c4120c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi,

I think, you should check the ld ca= che:
ldconfig -p | grep libX11.so

Also you can run
ldd $PLAN= 9/bin/devdraw
and check some other dependencies from X world


On Tue, Mar 4, 2014 at 6:58 AM, Blake McBride &= lt;blake@mcbride.na= me> wrote:
Greetings,

I am trying= to build p9p with the latest LinuxMint on a 64 bit machine. =A0In addition= to the normal stuff, I think I had to install packages:

libxt-dev
libxext-dev

It built fine, but what I run it = I get:

blake@sony-linux-laptop ~ $ acme
=
acme: error while loading shared libraries: libX11.so.6: cannot open s= hared object file: No such file or directory
blake@sony-linux-laptop ~ $


<= div>I have:

blake@sony-linux-laptop /usr/lib = $ find . -name 'libX11*'
./x86_64-linux-gnu/libX11-xcb.so= .1.0.0
./x86_64-linux-gnu/libX11.a
./x86_64-linux-gnu/libX11.so.6.3= .0
./x86_64-linux-gnu/libX11-xcb.so.1
./x86_64-linux-gn= u/libX11.so.6
./x86_64-linux-gnu/libX11.so


I think it may be looking for 32 bit shared libra= ries. =A0I am not sure how things are getting built on a 64 bit environment= . =A0Your help is greatly appreciated.

Thanks.

Blake McBride




--
Best regards= ,
=A0 santucco
--20cf3079bf1405dd3304f3c4120c--