[Solved] How do I enable expansion pack download?

For discussion of ports to POSIX based systems, especially using GNUStep.

Moderators: another_commander, winston, Getafix

vaxon
Dangerous
Dangerous
Posts: 108
Joined: Tue Jul 10, 2007 1:26 pm

[Solved] How do I enable expansion pack download?

Post by vaxon »

Built from the latest git repo.
The OXZ manager fails to download expansion pack list.
Not sure if this Log fragment is relevant:

Code: Select all

05:42:15.843 [exception]: ***** Exception checking controls [pollDemoControls]: NSInvalidArgumentException : NSTask - no launch path set                                                       
05:42:15.858 [oxz.manager.debug]: Trying to cancel file download                                                                                                                               
05:42:20.332 [exception]: ***** Exception checking controls [pollDemoControls]: NSInvalidArgumentException : NSTask - no launch path set                                                       
05:42:20.348 [oxz.manager.debug]: Trying to cancel file download                                                                                                                               
What do I need to be able to download oxz?
Last edited by vaxon on Wed Oct 14, 2020 6:57 pm, edited 1 time in total.

User avatar
Getafix
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 969
Joined: Tue Apr 01, 2008 12:55 pm
Location: A small ice asteroid, orbiting Oresrati in Galaxy 8 (a.k.a. northwest Armorica).
Contact:

Re: How do I enable expansion pack download?

Post by Getafix »

Hi vaxon,

please, start Oolite, then try to get the OXZ list, then exit and share the Latest.log file.

Could you share a few details about your system (e.g. laptop/pc, cpu, graphics card, memory)?
Which Linux distro are you using?
Are you behind a firewall or a proxy?
How do you connect to the network (e.g. cable, wireless, etc.)?

Would it be possible for you to check if you have the same issue when using our cross-Linux-distro package (you may get it at http://oolite.org/download/)?
"Any sufficiently advanced information is indistinguishable from noise." [Newman, Lachmann, Moore]

vaxon
Dangerous
Dangerous
Posts: 108
Joined: Tue Jul 10, 2007 1:26 pm

Re: How do I enable expansion pack download?

Post by vaxon »

Getafix wrote:
Tue Oct 13, 2020 8:27 am
Hi vaxon,

please, start Oolite, then try to get the OXZ list, then exit and share the Latest.log file.

Could you share a few details about your system (e.g. laptop/pc, cpu, graphics card, memory)?
Which Linux distro are you using?
Are you behind a firewall or a proxy?
How do you connect to the network (e.g. cable, wireless, etc.)?

Would it be possible for you to check if you have the same issue when using our cross-Linux-distro package (you may get it at http://oolite.org/download/)?
Expansion pack updates work fine with pre-built oolite from http://oolite.org/download.
However, when I build it myself from github it doesn't download expansion pack list.
Every time I hit "Download expansion pack list" I get the following lines added to the log:

Code: Select all

00:06:12.743 [exception]: ***** Exception checking controls [pollDemoControls]: NSInvalidArgumentException : NSTask - no launch path set                                                       
00:06:12.744 [oxz.manager.debug]: Trying to cancel file download                                                                                                                               
Looks like some dependency is missing.
I'm on Fedora 30, BTW.

Using just make or make -f Makefile release gives the same result.

Thanks!

vaxon
Dangerous
Dangerous
Posts: 108
Joined: Tue Jul 10, 2007 1:26 pm

Re: How do I enable expansion pack download?

Post by vaxon »

It turns out that the following line in src/Core/OOOXZManager.m

Code: Select all

NSURLConnection *download = [[NSURLConnection alloc] initWithRequest:request delegate:self];
causes the exception:

Code: Select all

00:06:12.743 [exception]: ***** Exception checking controls [pollDemoControls]: NSInvalidArgumentException : NSTask - no launch path set 
Thus initWithRequest:request delegate:self fails for some reason;

I'm using GNUStep base v1.25.

Anybody know what could have possibly cased it?

vaxon
Dangerous
Dangerous
Posts: 108
Joined: Tue Jul 10, 2007 1:26 pm

Re: How do I enable expansion pack download?

Post by vaxon »

OK, I've found what it was. The problem was caused by the missing /user/bin/gdnc which is a part of gnustep-base package.
Apparently gnustep-base-devel was installed, while gnustep-base wasn't.
So installing gnustep-base package has fixed the issue.

I wonder how the pre-built oolite version works without it.
It looks like the pre-built executable from http://oolite.org/download/ is a lot smaller than what I build from git and it has much less dependencies.

Is it possible to configure the build to get rid of the gdnc dependcency at least?

vaxon
Dangerous
Dangerous
Posts: 108
Joined: Tue Jul 10, 2007 1:26 pm

Re: How do I enable expansion pack download?

Post by vaxon »

Now that expansion packs are available there's another minor issue.
For some reason, the BGS OXP v2.5.1 is status is now "installed, updated pack available for download",
However, the updated pack is actually version 1.10.9 which is quite old.

another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 5742
Joined: Wed Feb 28, 2007 7:54 am

Re: [Solved] How do I enable expansion pack download?

Post by another_commander »

The binaries we distribute were built against GNUstep 1.20.1. Maybe try with that and see if things get better?

Avoiding these kind of bugs is the reason why we have locked all support libraries to specific, tested and confirmed as working versions, both on Linxu and Windows in the official distributions.

vaxon
Dangerous
Dangerous
Posts: 108
Joined: Tue Jul 10, 2007 1:26 pm

Re: [Solved] How do I enable expansion pack download?

Post by vaxon »

another_commander wrote:
Wed Oct 14, 2020 7:33 pm
The binaries we distribute were built against GNUstep 1.20.1. Maybe try with that and see if things get better?
For some reason it still uses distribution libgnustep-base and libpng libraries even if I build with the following command:

Code: Select all

make -j8 -f Makefile deps-release
Other libraries seem to be linked from deps/Linux-deps though.
Avoiding these kind of bugs is the reason why we have locked all support libraries to specific, tested and confirmed as working versions, both on Linxu and Windows in the official distributions.
As a matter of fact I'm having a minor vsync issue with the original libSDL from oolite package. It can be easily fixed by removing it and using the OS distribution library though.

Commander_X
---- E L I T E ----
---- E L I T E ----
Posts: 422
Joined: Sat Aug 09, 2014 4:16 pm

Re: [Solved] How do I enable expansion pack download?

Post by Commander_X »

Linux Slackware user here.
I'm tweaking LD_LIBRARY_PATH for both the build and runtime.
Build:

Code: Select all

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:deps/Linux-deps/x86_64/lib_linker make -j6 debug=no use_deps=yes
Runtime (i'ts obviously part of a wrapper script, and no, there are no extra resources eaten or startup delay caused by the $(dirname $0) repetition in the command line :) ):

Code: Select all

ESPEAK_DATA_PATH=$(dirname $0)/Resources LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(dirname $0)/Linux-deps $(dirname $0)/oolite

dybal
---- E L I T E ----
---- E L I T E ----
Posts: 416
Joined: Mon Feb 10, 2020 12:47 pm
Location: São Paulo, Brasil

Re: [Solved] How do I enable expansion pack download?

Post by dybal »

Would it be possible to include the header files for GNUStep 1.20.1 in the Linux-deps/include ?

Right now, I'm building using the headers for 1.25...

dybal
---- E L I T E ----
---- E L I T E ----
Posts: 416
Joined: Mon Feb 10, 2020 12:47 pm
Location: São Paulo, Brasil

Re: [Solved] How do I enable expansion pack download?

Post by dybal »

Commander_X wrote:
Thu Oct 15, 2020 1:11 am
Runtime (i'ts obviously part of a wrapper script, and no, there are no extra resources eaten or startup delay caused by the $(dirname $0) repetition in the command line :) ):

Code: Select all

ESPEAK_DATA_PATH=$(dirname $0)/Resources LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(dirname $0)/Linux-deps $(dirname $0)/oolite
In the bulid, I would put the directory in Linuxs-deps before the LD_LIBRARY_PATH content (otherwise if you have other versions of GNUStep installed and listed in LD_LIBRARY_PATH, they will be used if found first):

Code: Select all

LD_LIBRARY_PATH=deps/Linux-deps/x86_64/lib_linker:$(LD_LIBRARY_PATH)
For the runtime, oolite-wrapper already defines LD_LIBRARY_PATH (or isn't that working?)

From /GNUstep/Applications/Oolite-trunk/oolite.app/oolite-wrapper:

Code: Select all

TRUNK="-trunk"

OOLITE_ROOT=$(cd $(dirname $0); cd ..; pwd -P)

if [ ! -f $HOME/.Oolite/.oolite${TRUNK}-run ]
then
   mkdir -p $HOME/.Oolite/
   touch $HOME/.Oolite/.oolite${TRUNK}-run
   cat ${OOLITE_ROOT}/doc/README-PREAMBLE.TXT \
        ${OOLITE_ROOT}/doc/README.TXT | more
fi

# Oolite fails with a black message box with no text with the title
# 'Critical' if this doesn't exist.
if [ ! -d $HOME/GNUstep/Library/DTDs ]; then
   mkdir -p $HOME/GNUstep/Library/DTDs
   cp -r ${OOLITE_ROOT}/oolite-deps/DTDs/* $HOME/GNUstep/Library/DTDs/.
fi

# Set GNUstep environment.
HOST_ARCH=`uname -m | sed -e s/amd64/x86_64/`
if [ "$HOST_ARCH" = "x86_64" ]; then
   export GNUSTEP_HOST=x86_64-pc-linux-gnu
   export GNUSTEP_HOST_CPU=x86_64
else
   export GNUSTEP_HOST=i686-pc-linux-gnu
   export GNUSTEP_HOST_CPU=ix86
fi
export GNUSTEP_FLATTENED=yes
export GNUSTEP_HOST_OS=linux-gnu
export GNUSTEP_HOST_VENDOR=pc
# export GNUSTEP_ROOT=${OOLITE_ROOT}/oolite-deps/GNUstep
# export GNUSTEP_PATHLIST=${OOLITE_ROOT}/oolite-deps/GNUstep:${OOLITE_ROOT}/oolite-deps/GNUstep/Local:${OOLITE_ROOT}/oolite-deps/GNUstep/System
# export GNUSTEP_USER_ROOT=${OOLITE_ROOT}/oolite-deps/GNUstep
# export GNUSTEP_SYSTEM_ROOT=${OOLITE_ROOT}/oolite-deps/GNUstep/System
# export GNUSTEP_NETWORK_ROOT=${OOLITE_ROOT}/oolite-deps/GNUstep/Local
# export GNUSTEP_LOCAL_ROOT=${OOLITE_ROOT}/oolite-deps/GNUstep/Local

export LD_LIBRARY_PATH=${OOLITE_ROOT}/oolite-deps/lib
export ESPEAK_DATA_PATH=${OOLITE_ROOT}/oolite.app/Resources/

cd ${OOLITE_ROOT}/
./oolite.app/oolite "$@"
Last edited by dybal on Thu Oct 15, 2020 5:25 pm, edited 1 time in total.

vaxon
Dangerous
Dangerous
Posts: 108
Joined: Tue Jul 10, 2007 1:26 pm

Re: [Solved] How do I enable expansion pack download?

Post by vaxon »

Still OS libpng and libgnustep-base are used. Others are linked from deps:

Code: Select all

libSDL-1.2.so.0 => /home/git/oolite/deps/Linux-deps/x86_64/lib/libSDL-1.2.so.0 (0x00007f7d64916000)                                                                                            
libopenal.so.1 => /home/git/oolite/deps/Linux-deps/x86_64/lib/libopenal.so.1 (0x00007f7d640a1000)                                                                                              
libz.so.1 => /home/git/oolite/deps/Linux-deps/x86_64/lib/libz.so.1 (0x00007f7d63e8b000)                                                                                                        
libvorbisfile.so.3 => /home/git/oolite/deps/Linux-deps/x86_64/lib/libvorbisfile.so.3 (0x00007f7d63c81000)                                                                                      
libespeak.so.1 => /home/git/oolite/deps/Linux-deps/x86_64/lib/libespeak.so.1 (0x00007f7d637a7000)                                                                                              
libgnutls.so.30 => /home/git/oolite/deps/Linux-deps/x86_64/lib/libgnutls.so.30 (0x00007f7d60179000)                                                                                            
libvorbis.so.0 => /home/git/oolite/deps/Linux-deps/x86_64/lib/libvorbis.so.0 (0x00007f7d5f8d2000)                                                                                              
libogg.so.0 => /home/git/oolite/deps/Linux-deps/x86_64/lib/libogg.so.0 (0x00007f7d5f6cc000)                                                                                                    
libportaudio.so.2 => /home/git/oolite/deps/Linux-deps/x86_64/lib/libportaudio.so.2 (0x00007f7d5f4a6000)                                                                                        
libnettle.so.6 => /home/git/oolite/deps/Linux-deps/x86_64/lib/libnettle.so.6 (0x00007f7d5f1ed000)                                                                                              
libhogweed.so.4 => /home/git/oolite/deps/Linux-deps/x86_64/lib/libhogweed.so.4 (0x00007f7d5efb9000)                                                                                            
libgmp.so.10 => /home/git/oolite/deps/Linux-deps/x86_64/lib/libgmp.so.10 (0x00007f7d5ed41000)                                                                                                  
libgcrypt.so.20 => /home/git/oolite/deps/Linux-deps/x86_64/lib/libgcrypt.so.20 (0x00007f7d5ce85000)                                                                                            
libgpg-error.so.0 => /home/git/oolite/deps/Linux-deps/x86_64/lib/libgpg-error.so.0 (0x00007f7d5cc71000)                                                                                        

dybal
---- E L I T E ----
---- E L I T E ----
Posts: 416
Joined: Mon Feb 10, 2020 12:47 pm
Location: São Paulo, Brasil

Re: [Solved] How do I enable expansion pack download?

Post by dybal »

The oolite binary I built was using the OS gnustepbase library:

Code: Select all

	libgnustep-base.so.1.25 => /usr/lib/libgnustep-base.so.1.25 (0x00007fb42a7cc000)
CAVEAT: the GNUstep header files are from 1.25, I wasn't able to resolve the dependencies for the 1.20 deb packages I found.

The linker is ignoring the LD_LIBRARY_PATH and the -L command line parameter that tells it to look at deps/Linux-deps/x86_64/lib_linker and using the /usr/lib/libgnustep-base.so symbolic link instead.

I copied the libgnustep-base.so.1.20 file from deps/Linux-deps/x86_64/lib to /usr/lib and overwrite the simbolic link /usr/lib/libgnustep-base.so to point to it.

I also modified the script deps/Linux-deps/x86_64/lib_linker//make_so_links.sh adding (just before the exit):

Code: Select all

if ! [ -f 'libgnustep-base.so' ]; then
    ln -s ../lib/libgnustep-base.so.1.20 libgnustep-base.so
fi

if ! [ -f 'libffi.so' ]; then 
    ln -s ../lib/libffi.so.4          libz.so
fi

if ! [ -f 'libobjc.so' ]; then 
    ln -s ../lib/libobjc.so.2          libz.so
fi
And now I have:

Code: Select all

ldd oolite.app/oolite |sort
	/lib64/ld-linux-x86-64.so.2 (0x00007f0af40d5000)
	libasound.so.2 => /usr/lib/x86_64-linux-gnu/libasound.so.2 (0x00007f0af02c5000)
	libasyncns.so.0 => /usr/lib/x86_64-linux-gnu/libasyncns.so.0 (0x00007f0aea429000)
	libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f0aeaf7d000)
	libcaca.so.0 => /usr/lib/x86_64-linux-gnu/libcaca.so.0 (0x00007f0aef459000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f0af0ab3000)
	libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007f0aed42f000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f0af00c1000)
	libespeak.so.1 => /usr/lib/x86_64-linux-gnu/libespeak.so.1 (0x00007f0af145a000)
	libffi.so.4 => not found
	libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007f0ae9e17000)
	libFLAC.so.8 => /usr/lib/x86_64-linux-gnu/libFLAC.so.8 (0x00007f0ae7ddb000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f0af0ea4000)
	libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f0aeeb56000)
	libGLdispatch.so.0 => /usr/lib/x86_64-linux-gnu/libGLdispatch.so.0 (0x00007f0af05cc000)
	libGL.so.1 => /usr/lib/x86_64-linux-gnu/libGL.so.1 (0x00007f0af2eea000)
	libGLU.so.1 => /usr/lib/x86_64-linux-gnu/libGLU.so.1 (0x00007f0af3176000)
	libGLX.so.0 => /usr/lib/x86_64-linux-gnu/libGLX.so.0 (0x00007f0af0882000)
	libgmp.so.10 => /usr/lib/x86_64-linux-gnu/libgmp.so.10 (0x00007f0aef1d8000)
	libgnustep-base.so.1.20 => /usr/lib/libgnustep-base.so.1.20 (0x00007f0af257f000)
	libgnutls.so.30 => /usr/lib/x86_64-linux-gnu/libgnutls.so.30 (0x00007f0aeee72000)
	libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f0aeb770000)
	libhogweed.so.4 => /usr/lib/x86_64-linux-gnu/libhogweed.so.4 (0x00007f0aeb985000)
	libicudata.so.60 => /usr/lib/x86_64-linux-gnu/libicudata.so.60 (0x00007f0ae826e000)
	libicuuc.so.60 => /usr/lib/x86_64-linux-gnu/libicuuc.so.60 (0x00007f0aeb3b8000)
	libidn2.so.0 => /usr/lib/x86_64-linux-gnu/libidn2.so.0 (0x00007f0aec380000)
	libjack.so.0 => /usr/lib/x86_64-linux-gnu/libjack.so.0 (0x00007f0aead36000)
	liblz4.so.1 => /usr/lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f0ae8052000)
	liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f0aeb192000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f0af10bc000)
	libncursesw.so.5 => /lib/x86_64-linux-gnu/libncursesw.so.5 (0x00007f0aecaf6000)
	libnettle.so.6 => /usr/lib/x86_64-linux-gnu/libnettle.so.6 (0x00007f0aebbb9000)
	libnsl.so.1 => /lib/x86_64-linux-gnu/libnsl.so.1 (0x00007f0aee57b000)
	libnspr4.so => /usr/lib/x86_64-linux-gnu/libnspr4.so (0x00007f0af1c7e000)
	libobjc.so.2 => not found
	libobjc.so.2 => not found
	libogg.so.0 => /usr/lib/x86_64-linux-gnu/libogg.so.0 (0x00007f0aedd2f000)
	libopenal.so.1 => /usr/lib/x86_64-linux-gnu/libopenal.so.1 (0x00007f0af22e0000)
	libp11-kit.so.0 => /usr/lib/x86_64-linux-gnu/libp11-kit.so.0 (0x00007f0aec59d000)
	libpng14.so.14 => not found
	libportaudio.so.2 => /usr/lib/x86_64-linux-gnu/libportaudio.so.2 (0x00007f0aedb00000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f0af1a5f000)
	libpulsecommon-11.1.so => /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-11.1.so (0x00007f0aed67c000)
	libpulse-simple.so.0 => /usr/lib/x86_64-linux-gnu/libpulse-simple.so.0 (0x00007f0aefebc000)
	libpulse.so.0 => /usr/lib/x86_64-linux-gnu/libpulse.so.0 (0x00007f0aefc6c000)
	libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f0ae7917000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f0aee373000)
	libSDL-1.2.so.0 => /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0 (0x00007f0af2c52000)
	libslang.so.2 => /lib/x86_64-linux-gnu/libslang.so.2 (0x00007f0aecd25000)
	libsndfile.so.1 => /usr/lib/x86_64-linux-gnu/libsndfile.so.1 (0x00007f0aea62f000)
	libsndio.so.6.1 => /usr/lib/x86_64-linux-gnu/libsndio.so.6.1 (0x00007f0aee163000)
	libsonic.so.0 => /usr/lib/x86_64-linux-gnu/libsonic.so.0 (0x00007f0aed8fa000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f0af16d6000)
	libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f0aeaab2000)
	libtasn1.so.6 => /usr/lib/x86_64-linux-gnu/libtasn1.so.6 (0x00007f0aebdef000)
	libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007f0aec8cc000)
	libunistring.so.2 => /usr/lib/x86_64-linux-gnu/libunistring.so.2 (0x00007f0aec002000)
	libvorbisenc.so.2 => /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2 (0x00007f0ae7b32000)
	libvorbisfile.so.3 => /usr/lib/x86_64-linux-gnu/libvorbisfile.so.3 (0x00007f0af1ebb000)
	libvorbis.so.0 => /usr/lib/x86_64-linux-gnu/libvorbis.so.0 (0x00007f0aedf38000)
	libwrap.so.0 => /lib/x86_64-linux-gnu/libwrap.so.0 (0x00007f0aea8a8000)
	libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f0aef934000)
	libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f0aea225000)
	libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f0aed207000)
	libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f0aea01f000)
	libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f0aef722000)
	libxml2.so.2 => /usr/lib/x86_64-linux-gnu/libxml2.so.2 (0x00007f0aee795000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f0af20c3000)
	linux-vdso.so.1 (0x00007ffdc8180000)
Notice that some libraries were not found... I didn't set LD_LIBRARY_PATH before calling ldd;

I put a 'ldd oolite|sort' in oolite-wrapper just before the oolite binary call to see if the definition of LD_LIBRARY_PATH there works, and it does, the supplied deps libraries are being used:

Code: Select all

	/lib64/ld-linux-x86-64.so.2 (0x00007fd5dfb17000)
	libasound.so.2 => /usr/lib/x86_64-linux-gnu/libasound.so.2 (0x00007fd5d8ee8000)
	libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007fd5d6af8000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fd5dc118000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fd5dba2d000)
	libespeak.so.1 => /home/dybal/pessoal/oolite/GNUstep/Applications/Oolite-trunk/oolite-deps/lib/libespeak.so.1 (0x00007fd5dccdc000)
	libffi.so.4 => /home/dybal/pessoal/oolite/GNUstep/Applications/Oolite-trunk/oolite-deps/lib/libffi.so.4 (0x00007fd5dabfa000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fd5dc509000)
	libgcrypt.so.20 => /home/dybal/pessoal/oolite/GNUstep/Applications/Oolite-trunk/oolite-deps/lib/libgcrypt.so.20 (0x00007fd5db1c3000)
	libGLdispatch.so.0 => /usr/lib/x86_64-linux-gnu/libGLdispatch.so.0 (0x00007fd5dbc31000)
	libGL.so.1 => /usr/lib/x86_64-linux-gnu/libGL.so.1 (0x00007fd5de92c000)
	libGLU.so.1 => /usr/lib/x86_64-linux-gnu/libGLU.so.1 (0x00007fd5debb8000)
	libGLX.so.0 => /usr/lib/x86_64-linux-gnu/libGLX.so.0 (0x00007fd5dbee7000)
	libgmp.so.10 => /home/dybal/pessoal/oolite/GNUstep/Applications/Oolite-trunk/oolite-deps/lib/libgmp.so.10 (0x00007fd5db7b5000)
	libgnustep-base.so.1.20 => /home/dybal/pessoal/oolite/GNUstep/Applications/Oolite-trunk/oolite-deps/lib/libgnustep-base.so.1.20 (0x00007fd5ddfbe000)
	libgnutls.so.30 => /home/dybal/pessoal/oolite/GNUstep/Applications/Oolite-trunk/oolite-deps/lib/libgnutls.so.30 (0x00007fd5db48d000)
	libgpg-error.so.0 => /home/dybal/pessoal/oolite/GNUstep/Applications/Oolite-trunk/oolite-deps/lib/libgpg-error.so.0 (0x00007fd5d97cd000)
	libhogweed.so.4 => /home/dybal/pessoal/oolite/GNUstep/Applications/Oolite-trunk/oolite-deps/lib/libhogweed.so.4 (0x00007fd5d99df000)
	libicudata.so.60 => /usr/lib/x86_64-linux-gnu/libicudata.so.60 (0x00007fd5d7117000)
	libicuuc.so.60 => /usr/lib/x86_64-linux-gnu/libicuuc.so.60 (0x00007fd5d9415000)
	liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007fd5d91ef000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fd5dc721000)
	libnettle.so.6 => /home/dybal/pessoal/oolite/GNUstep/Applications/Oolite-trunk/oolite-deps/lib/libnettle.so.6 (0x00007fd5d9c13000)
	libnsl.so.1 => /lib/x86_64-linux-gnu/libnsl.so.1 (0x00007fd5da9e0000)
	libnspr4.so => /usr/lib/x86_64-linux-gnu/libnspr4.so (0x00007fd5dd4ed000)
	libobjc.so.2 => /home/dybal/pessoal/oolite/GNUstep/Applications/Oolite-trunk/oolite-deps/lib/libobjc.so.2 (0x00007fd5dcabf000)
	libogg.so.0 => /home/dybal/pessoal/oolite/GNUstep/Applications/Oolite-trunk/oolite-deps/lib/libogg.so.0 (0x00007fd5da3a7000)
	libopenal.so.1 => /home/dybal/pessoal/oolite/GNUstep/Applications/Oolite-trunk/oolite-deps/lib/libopenal.so.1 (0x00007fd5ddd6c000)
	libpng14.so.14 => /home/dybal/pessoal/oolite/GNUstep/Applications/Oolite-trunk/oolite-deps/lib/libpng14.so.14 (0x00007fd5dd72a000)
	libportaudio.so.2 => /home/dybal/pessoal/oolite/GNUstep/Applications/Oolite-trunk/oolite-deps/lib/libportaudio.so.2 (0x00007fd5da181000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fd5dd2ce000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fd5da7d8000)
	libSDL-1.2.so.0 => /home/dybal/pessoal/oolite/GNUstep/Applications/Oolite-trunk/oolite-deps/lib/libSDL-1.2.so.0 (0x00007fd5de691000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fd5dcf45000)
	libvorbisfile.so.3 => /home/dybal/pessoal/oolite/GNUstep/Applications/Oolite-trunk/oolite-deps/lib/libvorbisfile.so.3 (0x00007fd5dd94e000)
	libvorbis.so.0 => /home/dybal/pessoal/oolite/GNUstep/Applications/Oolite-trunk/oolite-deps/lib/libvorbis.so.0 (0x00007fd5da5ad000)
	libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007fd5d9e49000)
	libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007fd5d6f13000)
	libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007fd5d8cc0000)
	libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007fd5d6d0d000)
	libxml2.so.2 => /usr/lib/x86_64-linux-gnu/libxml2.so.2 (0x00007fd5dae02000)
	libz.so.1 => /home/dybal/pessoal/oolite/GNUstep/Applications/Oolite-trunk/oolite-deps/lib/libz.so.1 (0x00007fd5ddb56000)
	linux-vdso.so.1 (0x00007fff29d40000)
Aborted (core dumped)

Erk. It looks like Oolite-trunk died with an error. When making an error
report, please copy + paste the log above into the report.

(Press Ctrl-C to continue)
So now it's linked to the correct GNUstep library... but it crashes :cry:

When I let it link to the GNUstep 1.25 version (as I've been doing for months), there are some differences in the defaults file (besides being name oolite.plist instead of .GNUstepDefaults), and oolite freezes now and then.
Last edited by dybal on Fri Oct 16, 2020 12:08 pm, edited 1 time in total.

Commander_X
---- E L I T E ----
---- E L I T E ----
Posts: 422
Joined: Sat Aug 09, 2014 4:16 pm

Re: [Solved] How do I enable expansion pack download?

Post by Commander_X »

dybal wrote:
Thu Oct 15, 2020 2:23 pm
[...]
From /GNUstep/Applications/Oolite-trunk/oolite.app/oolite-wrapper:
[...]
That wrapper is created by the install script, and I don't need it whole as I'm not using ~/GNUstep (I just run make, and run it from the build directory).

About the placement of $LD_LIBRARY_PATH, I usually do it just for consistency (it's usually empty). Just after reading your post, I checked, and GNUstep.sh file (which I run both before the build and at runtime) messes with LD_LIBRARY_PATH.

I just found out this way that I'm running with only libz, libvorbis, libvorbisfile, libpng14, and libespeak from "my" Linux-deps folder :oops:

Oh well, at least I can confirm self compiled gnustep 1.26 works here (I also checked that I can download the OXZ list and addons, although my approach is to side download from the site and drop them in ../AddOns).

vaxon
Dangerous
Dangerous
Posts: 108
Joined: Tue Jul 10, 2007 1:26 pm

Re: [Solved] How do I enable expansion pack download?

Post by vaxon »

Commander_X wrote:
Thu Oct 15, 2020 10:02 pm
Oh well, at least I can confirm self compiled gnustep 1.26 works here (I also checked that I can download the OXZ list and addons, although my approach is to side download from the site and drop them in ../AddOns).
GNUStep 1.25 from F30 also works. It just needs gnustep-base package installed so it can start its communication daemon: /usr/bin/gdnc
Looks like 1.20 works without this daemon somehow.
Does gnustep 1.26 also need gdnc?

Post Reply