9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] p9p on 64 bit Linux
@ 2014-03-04  2:58 Blake McBride
  2014-03-04  8:55 ` Alexander Sychev
  2014-03-04  9:11 ` Charles Forsyth
  0 siblings, 2 replies; 5+ messages in thread
From: Blake McBride @ 2014-03-04  2:58 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 879 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1256 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] p9p on 64 bit Linux
  2014-03-04  2:58 [9fans] p9p on 64 bit Linux Blake McBride
@ 2014-03-04  8:55 ` Alexander Sychev
  2014-03-04  9:11 ` Charles Forsyth
  1 sibling, 0 replies; 5+ messages in thread
From: Alexander Sychev @ 2014-03-04  8:55 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 1228 bytes --]

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 <blake@mcbride.name> 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

[-- Attachment #2: Type: text/html, Size: 2075 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] p9p on 64 bit Linux
  2014-03-04  2:58 [9fans] p9p on 64 bit Linux Blake McBride
  2014-03-04  8:55 ` Alexander Sychev
@ 2014-03-04  9:11 ` Charles Forsyth
  2014-03-04  9:18   ` tuchalia
  1 sibling, 1 reply; 5+ messages in thread
From: Charles Forsyth @ 2014-03-04  9:11 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 417 bytes --]

On 4 March 2014 02:58, Blake McBride <blake@mcbride.name> wrote:

>
>
> 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.
>

I had to apt-get install *package-name*:*i386* for each one, adhering to
the new naming apt package scheme.
There should be something similar if your Linux isn't apt.

[-- Attachment #2: Type: text/html, Size: 789 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] p9p on 64 bit Linux
  2014-03-04  9:11 ` Charles Forsyth
@ 2014-03-04  9:18   ` tuchalia
  2014-03-04  9:48     ` David du Colombier
  0 siblings, 1 reply; 5+ messages in thread
From: tuchalia @ 2014-03-04  9:18 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 835 bytes --]

Hi there Blake,

(This is my first email here). I had the same problem with FreeBSD. And
with my current Arch Linux setup.

What you have to do is to install the 32-bit versions of libX11. Using
Linux Mint it is a safe bet that you can get it using your package manager,
as other have said.


2014-03-04 10:11 GMT+01:00 Charles Forsyth <charles.forsyth@gmail.com>:

>
> On 4 March 2014 02:58, Blake McBride <blake@mcbride.name> wrote:
>
>>
>>
>> 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.
>>
>
> I had to apt-get install *package-name*:*i386* for each one, adhering to
> the new naming apt package scheme.
> There should be something similar if your Linux isn't apt.
>



--
Daniel

[-- Attachment #2: Type: text/html, Size: 1564 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9fans] p9p on 64 bit Linux
  2014-03-04  9:18   ` tuchalia
@ 2014-03-04  9:48     ` David du Colombier
  0 siblings, 0 replies; 5+ messages in thread
From: David du Colombier @ 2014-03-04  9:48 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On a 64-bit Linux, I think you should rather compile plan9port in
64-bit. If you gcc doesn't produce 64-bit executables by default, try
to add -m64 in 9c and recompile plan9port.

--
David du Colombier



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-03-04  9:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-04  2:58 [9fans] p9p on 64 bit Linux Blake McBride
2014-03-04  8:55 ` Alexander Sychev
2014-03-04  9:11 ` Charles Forsyth
2014-03-04  9:18   ` tuchalia
2014-03-04  9:48     ` David du Colombier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).