FS#11239 - Supertux - missing physfs library after upgrading to the latest physfs

Attached to Project: Community Packages
Opened by Cristian C. (ckristi) - Sunday, 17 August 2008, 10:00 GMT
Last edited by Jaroslaw Swierczynski (swiergot) - Saturday, 23 August 2008, 12:03 GMT
Task Type Bug Report
Category
Status Closed
Assigned To Jaroslaw Swierczynski (swiergot)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
Supertux is missing libphysfs library after upgrading to the latest physfs.

Additional info:
* supertux-0.3.1-1 & physfs 1.1.1-1
* The error looks like this:
$ supertux2
supertux2: error while loading shared libraries: libphysfs-1.0.so.1: cannot open shared object file: No such file or directory


Steps to reproduce:
Try running supertux2. :)

Note: I tried to recompile but failed due to some errors.
This task depends upon

Closed by  Jaroslaw Swierczynski (swiergot)
Saturday, 23 August 2008, 12:03 GMT
Reason for closing:  Fixed
Comment by hak5fan (hak5fan) - Wednesday, 20 August 2008, 20:14 GMT
Workaround until this bug is fixed
ln -s /usr/lib/libphysfs.so.1.1.1 /usr/lib/libphysfs-1.0.so.1
Command must be executed as root or prefixed by sudo

Comment by Allan McRae (Allan) - Thursday, 21 August 2008, 02:41 GMT
No. The workaround is to rebuild using ABS.
Comment by Cristian C. (ckristi) - Friday, 22 August 2008, 04:35 GMT
Allan is right. But the build failed. Because of my limited time I haven't got the time to find the causes.
Comment by Cristian C. (ckristi) - Saturday, 23 August 2008, 07:24 GMT
So, is this going to be fixed. I tried recompile from abs again and I got plenty errors like this:

src/console.hpp:104: error: invalid use of '::'
src/console.hpp:104: error: expected ';' before '<' token
src/console.cpp: In member function 'void Console::init_graphics()':
src/console.cpp:56: error: 'font' was not declared in this scope
src/console.cpp:60: error: 'background' was not declared in this scope
src/console.cpp:61: error: 'background2' was not declared in this scope
src/console.cpp: In member function 'void Console::draw(DrawingContext&)':
src/console.cpp:489: error: 'background2' was not declared in this scope
src/console.cpp:489: error: 'background' was not declared in this scope
src/console.cpp:501: error: 'font' was not declared in this scope
src/console.cpp:513: error: 'font' was not declared in this scope

I don't know what to do and what is causing this errors.
Please, help!
Comment by Jaroslaw Swierczynski (swiergot) - Saturday, 23 August 2008, 10:12 GMT
I'm on it but there are so many errors that it's gonna take some time to fix the compilation. Stay tuned.
Comment by Jaroslaw Swierczynski (swiergot) - Saturday, 23 August 2008, 12:02 GMT
It turned out not to be that bad after all, most errors were just secondary. Uploading a new package.

Loading...