Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 229941
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Denilson <denilsonsa@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
mtp-target-bin-1.5.17.ebuild ebuild for newest version (bin) text/plain Tomáš Chvátal 2008-06-29 00:48 0000 1.15 KB Details
mtp-target-bin.patch patch fixing looking for liblualib for version 1.2.0 patch Tomáš Chvátal 2008-06-29 00:49 0000 651 bytes Details | Diff
mtp-target-bin-1.5.18.ebuild ebuild on newest version text/plain Tomáš Chvátal 2008-08-14 16:08 0000 1.14 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 229941 depends on: Show dependency tree
Bug 229941 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-06-28 20:18 0000
See these commands, they speak by themselves:

$ mtp-target-bin-server 
./mtp_target_service: error while loading shared libraries: liblualib50.so.5.0:
cannot open shared object file: No such file or directory

$ mtp-target-bin-client 
./client: error while loading shared libraries: liblualib50.so.5.0: cannot open
shared object file: No such file or directory

When running "ls -l /opt/mtp-target-bin/lib", I see this broken link:
/opt/mtp-target-bin/libliblualib50.so.5.0 -> /usr/lib/liblualib.so

$ ls -l /usr/lib/liblua*
-rw-r--r-- 1 root root 308K Jun 11 10:57 /usr/lib/liblua.a
-rw-r--r-- 1 root root  791 Jun 11 10:57 /usr/lib/liblua.la
lrwxrwxrwx 1 root root   15 Jun 11 10:57 /usr/lib/liblua.so -> liblua.so.5.1.3*
lrwxrwxrwx 1 root root   15 Jun 11 10:57 /usr/lib/liblua.so.5 ->
liblua.so.5.1.3*
-rwxr-xr-x 1 root root 160K Jun 11 10:57 /usr/lib/liblua.so.5.1.3*


So, I don't have 'liblualib*' file on my system, but I have lua installed:
[ebuild   R   ] dev-lang/lua-5.1.3-r1  USE="readline -deprecated -static" 211
kB


Then, I've tried this:
# cd /opt/mtp-target-bin/lib/
# ln -snf /usr/lib/liblua.so liblualib50.so.5.0

On my x86 machine, that was enough to make the program run. So, I think this
should be a one-line-fix at mtp-target-bin-1.2.0.ebuild.

On my amd64 machine, however, I got:
./client: error while loading shared libraries: liblualib50.so.5.0: wrong ELF
class: ELFCLASS64

So, AFAIK, mtp-target-bin is not usable in amd64, at least not without some
32-bit libraries. (ldd output on 'client' shows libcurl.so.2,
liblualib50.so.5.0 and liblua50.so.5.0 as not found)

------- Comment #1 From Tomáš Chvátal 2008-06-29 00:48:23 0000 -------
Created an attachment (id=158833) [details]
ebuild for newest version (bin)

It looks like it depends on really old lua...
Would you mind testing game in this attachment?

They have source open ebuild but it depends on library which not even have
versioning and still is only in svn :(

------- Comment #2 From Tomáš Chvátal 2008-06-29 00:49:09 0000 -------
Created an attachment (id=158835) [details]
patch fixing looking for liblualib for version 1.2.0

------- Comment #3 From Tomáš Chvátal 2008-08-14 16:08:48 0000 -------
Created an attachment (id=162904) [details]
ebuild on newest version

changes against previous ebuild: only repoman compilant now...

------- Comment #4 From Mr. Bones. 2008-08-14 16:44:20 0000 -------
in portage.   thanks for the ebuild.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug