ID:135318
 
I upgraded to v.341, but now I get this error when I try to run it:

./DreamDaemon blackBlack.dmb 3000 -safe &
[3] 13295
[2] Exit 127 ./DreamDaemon blackBlack.dmb 3000 -safe
zac:~/byond/bin# ./DreamDaemon: relocation error: ./DreamDaemon: undefined symbol: Initialize__8ByondLib15ByondServerType

I'm just wondering, are you using a shell server from a site, or your own personal computer server?
In response to N1ghtW1ng
N1ghtW1ng wrote:
I'm just wondering, are you using a shell server from a site, or your own personal computer server?

Webserver.
In response to Wolf01
Oh ok, sorry I have no idea what is wrong.
You probably installed the new version alongside an older version, and it's being linked to the old libbyond library at runtime. You need to make sure you remove any old versions or install the new one in the same place so it overwrites the old one.
In response to Mike H
I overwrote it.
  Arrow keys: Up and Down to move.  Right to follow a link; Left to go back.
zac:~# unzip byond_linux.zip
Archive: byond_linux.zip
replace byond/cfg/release.txt? [y]es, [n]o, [A]ll, [N]one, [r]ename: A
inflating: byond/cfg/release.txt
extracting: byond/cfg/byond.dms
inflating: byond/cfg/irc.dms
inflating: byond/cfg/telnet.dms
inflating: byond/host/host.dmb
inflating: byond/host/readme.html
inflating: byond/host/home/root/byond/tools/root/root.dmb
inflating: byond/host/hostconf.txt
inflating: byond/host/shared/byond/tools/admin/admin.dmb
inflating: byond/host/shared/byond/tools/ftp/ftp.dmb
inflating: byond/host/shared-web/web/tools/admin/index.dmb
inflating: byond/host/hostconf.orig
inflating: byond/host/readme-unix.txt
inflating: byond/host/host.start
inflating: byond/Makefile
inflating: byond/key/key.txt
inflating: byond/man/man6/DreamDaemon.6
inflating: byond/man/man6/DreamMaker.6
inflating: byond/man/man6/DreamSeeker.6
inflating: byond/bin/DreamMaker
inflating: byond/bin/DreamSeeker
inflating: byond/bin/DreamDaemon
inflating: byond/bin/libpng.so
inflating: byond/bin/libzip.so
inflating: byond/bin/libbyond.so
inflating: byond/readme.txt
In response to N1ghtW1ng
Mike H - would it cause this problem during overwriting during game hosting? This is because I am hosting Mafia by LostRealm.
In response to Wolf01
That might be a problem I think, I'm not expert in Linux, but I know you get errors when installing while having BYOND open
In response to Wolf01
Yes, that would probably be a problem. Close down any instances of DreamDaemon, DreamSeeker, DreamMaker, or DreamAnythingElse you may have running on the server, then try again.

Also, if you copied libbyond.so files around the place when you first set it up, you should copy the new libbyond.so over the top of all of those files.
In response to N1ghtW1ng
I did all that.
It still "re-happens" every time I log back into putty and try to host something else, but if I close all programs, and go abck to the byond dir and type 'make here' and get that mumbo jumbo (and , source /root/byond/bin/byondsetup), It will work until I log out of outty and try to host another program.

Sorry if you can't understand what I am saying. :\
In response to Wolf01
So what you're saying is that it works until you log out?

There's probably an environment variable or something that you need to set every time you log in. I seem to recall at least one, LD_LIBRARY_PATH or something.
In response to Crispy
Well, every time I run again, I ahve to do the 'make here' and the source /root/byond/bin/byondsetup.
In response to Wolf01
I think you can put that, or something else in the script that runs everytime you log in. It says all that in the readme.txt
In response to N1ghtW1ng
Wow. Thanks, guys, though I never had to do that before...
In response to Crispy
Crispy wrote:
So what you're saying is that it works until you log out?

There's probably an environment variable or something that you need to set every time you log in. I seem to recall at least one, LD_LIBRARY_PATH or something.

It needs to be in the .bash_profile file, but how do I make it run? Where does it need to go:
  GNU nano 1.2.4                               File: /home/terranwolf/.bash_profile

# ~/.bash_profile: executed by bash(1) for login shells.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.

# the default umask is set in /etc/login.defs
#umask 022

# the rest of this file is commented out.

# set variable identifying the chroot you work in
#if [ -f /etc/debian_chroot ]; then
# debian_chroot=$(cat /etc/debian_chroot)
#fi

# include .bashrc if it exists
#if [ -f ~/.bashrc ]; then
# . ~/.bashrc
#fi

# set PATH so it includes user's private bin if it exists
#if [ -d ~/bin ] ; then
# PATH=~/bin:"${PATH}"
#fi

# do the same with MANPATH
#if [ -d ~/man ]; then
# MANPATH=~/man:"${MANPATH}"
# export MANPATH
#fi

In response to Wolf01
Just make a new line anywhere in the file, with the <nobr>source /path/to/byondsetup</nobr> command (change /path/to, obviously).