Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
installing mujoco
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
haides
n00b
n00b


Joined: 29 Nov 2018
Posts: 8

PostPosted: Tue Oct 01, 2019 3:16 pm    Post subject: installing mujoco Reply with quote

Hello everyone.

I want to install MuJoCo(h​tt​ps:​//www​.roboti.us/) on gentoo and at the first step I have to run a binary excitable to get the id of my machine(https:​//w​ww.r​oboti.u​s/g​etid/getid_linux)
However this binary does not work under Gentoo but it does work under Debian.
The only thing that came into my mind to check was to see what other libraries does it depend on:
Code:
➜     ldd getid_linux
   linux-vdso.so.1 (0x00007ffcb9194000)
   libc.so.6 => /lib64/libc.so.6 (0x00007fab64465000)
   /lib64/ld-linux-x86-64.so.2 (0x00007fab64658000)

It seems that only glibc.
Does anybody have any idea to solve this problem?
(the binary file does run under gentoo but its output is wrong)

Thanks

[Moderator edit: added [code] tags to preserve output layout. -Hu]
Back to top
View user's profile Send private message
mike155
Veteran
Veteran


Joined: 17 Sep 2010
Posts: 1975
Location: Frankfurt, Germany

PostPosted: Tue Oct 01, 2019 3:40 pm    Post subject: Reply with quote

  1. Is your problem similar to the problems reported in this thread:

  2. Does 'getid_linux' print any warning or error messages?

  3. Why do you think that the generated id is wrong?
Back to top
View user's profile Send private message
haides
n00b
n00b


Joined: 29 Nov 2018
Posts: 8

PostPosted: Tue Oct 01, 2019 3:55 pm    Post subject: Reply with quote

Thanks for reply.
Sorry I should have searched more.

It prints the "LINUX__095" string.

Unfortunately there was no solution in that thread. Do you have any idea on how to resolve this?
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 23496
Location: here

PostPosted: Tue Oct 01, 2019 5:17 pm    Post subject: Reply with quote

Can help this?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
haides
n00b
n00b


Joined: 29 Nov 2018
Posts: 8

PostPosted: Tue Oct 01, 2019 6:53 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Can help this?


Sorry, I didn't see any solutions in that thread.

However things got a little complicated. Actually I have two machines. Gentoo on my laptap and both Gentoo and debian on my desktop. In the desktop getid works on both debian and gentoo(the gentoo has not been updated for several months).
In the laptop it does not work. So it seems that there something wrong with config of gentoo on laptop.
Back to top
View user's profile Send private message
mike155
Veteran
Veteran


Joined: 17 Sep 2010
Posts: 1975
Location: Frankfurt, Germany

PostPosted: Tue Oct 01, 2019 8:31 pm    Post subject: Reply with quote

haides wrote:
However things got a little complicated. Actually I have two machines. Gentoo on my laptap and both Gentoo and debian on my desktop. In the desktop getid works on both debian and gentoo(the gentoo has not been updated for several months).
In the laptop it does not work. So it seems that there something wrong with config of gentoo on laptop.

It seems that getid_linux collects data about the machine it runs on (serial numbers, CPU type, MAC addresses, etc.) and calculates an id. If it can't collect the data it needs, it generates "LINUX__095".

  1. Check your laptop. Is /proc mounted? Do tools like lspci, lsusb, dmidecode, inxi, etc. show correct data? Compare the ouput of those tools on your laptop with the output on your desktop.

  2. I think I would run 'getid_linux' with 'strace'
    Code:
    strace -f -o /tmp/getid_linux_strace.txt  getid_linux

    and compare the output files. Where do things start to go wrong on your laptop?
Back to top
View user's profile Send private message
haides
n00b
n00b


Joined: 29 Nov 2018
Posts: 8

PostPosted: Wed Oct 02, 2019 7:49 am    Post subject: Reply with quote

mike155 wrote:
haides wrote:
However things got a little complicated. Actually I have two machines. Gentoo on my laptap and both Gentoo and debian on my desktop. In the desktop getid works on both debian and gentoo(the gentoo has not been updated for several months).
In the laptop it does not work. So it seems that there something wrong with config of gentoo on laptop.

It seems that getid_linux collects data about the machine it runs on (serial numbers, CPU type, MAC addresses, etc.) and calculates an id. If it can't collect the data it needs, it generates "LINUX__095".

  1. Check your laptop. Is /proc mounted? Do tools like lspci, lsusb, dmidecode, inxi, etc. show correct data? Compare the ouput of those tools on your laptop with the output on your desktop.

  2. I think I would run 'getid_linux' with 'strace'
    Code:
    strace -f -o /tmp/getid_linux_strace.txt  getid_linux

    and compare the output files. Where do things start to go wrong on your laptop?



Thanks a lot.
I looked at strace output but honestly its too complicated for me. However I rebuilt the laptop's kernel with genkernel instead of my manual config, and I it worked.
So it seems that the kernel config is missing something. I have kept the strace output and I will try to find the root of this problem later. Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum