Hi,
have installed PB and have many of the example programs running. However a few are not; e.g. the sprite.pb demo.
I have run the checkinstall.sh script and it reports that libstdc++ is not found. However, I previously installed libstdc++6 and have double checked and it is installed fine (according to the synaptic package manager).
What am I missing?
Thanks.
Installed PB under Ubuntu 11.10 but...
Installed PB under Ubuntu 11.10 but...
I may look like a mule, but I'm not a complete ass.
-
IdeasVacuum
- Always Here

- Posts: 6426
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
Re: Installed PB under Ubuntu 11.10 but...
Windows!What am I missing?
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
If it sounds simple, you have not grasped the complexity.
Re: Installed PB under Ubuntu 11.10 but...
IdeasVacuum wrote:Windows!What am I missing?
I may look like a mule, but I'm not a complete ass.
Re: Installed PB under Ubuntu 11.10 but...
Stephen,
take a look into this thread:
http://www.purebasic.fr/english/viewtop ... 23&t=48112
However presumably this fix is only necessary so that the checkinstall.sh
script doesn't report anymore that libstdc++ is not found...
take a look into this thread:
http://www.purebasic.fr/english/viewtop ... 23&t=48112
However presumably this fix is only necessary so that the checkinstall.sh
script doesn't report anymore that libstdc++ is not found...
Re: Installed PB under Ubuntu 11.10 but...
Fixed that thanks. Get the same message with lbgnome-2.0.pc now though!
Going back to sprite.pb, it is a linker error : /usr/bin/ld: cannot find -lXxf86vmcollect2L ld returned 1 exit status
Going back to sprite.pb, it is a linker error : /usr/bin/ld: cannot find -lXxf86vmcollect2L ld returned 1 exit status
I may look like a mule, but I'm not a complete ass.
Re: Installed PB under Ubuntu 11.10 but...
You should install: libXxf86vm
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Re: Installed PB under Ubuntu 11.10 but...
Solution:
http://www.purebasic.fr/english/viewtop ... 23&t=48743
Code: Select all
sudo apt-get install libxxf86vm-devRe: Installed PB under Ubuntu 11.10 but...
Guess I should read the forums a bit more carefully! 
I may look like a mule, but I'm not a complete ass.
Re: Installed PB under Ubuntu 11.10 but...
Are you sure that you installed the developer version libgnome2-dev?srod wrote:Get the same message with lbgnome-2.0.pc now though!
I always use this one line script saved as InstallNeededLibs to install all
needed dependencies in Ubuntu distributions:
Code: Select all
sudo apt-get install build-essential libgtk2.0-dev libgnome2-dev libgnomeprintui2.2-dev libxine-dev libsdl1.2-dev libiodbc2-devand I'm done..../InstallNeededLibs
Re: Installed PB under Ubuntu 11.10 but...
viewtopic.php?f=15&t=48399
Paste this into a text document..
Run check-install.sh
Make sure everything is correct.
Run Purebasic
EDIT: Forgot to add - You will also need to Symlink the libstdc++.so.6 again.
Paste this into a text document..
Chmod it and give it execution.sudo apt-get install gcc -y
sudo apt-get install libgtk2.0-dev -y
sudo apt-get install libsdl1.2-dev -y
sudo apt-get install libstdc++6 -y
sudo apt-get install libiodbc2 -y
sudo apt-get install libiodbc2-dev -y
sudo apt-get install libxine1 -y
sudo apt-get install libxine-dev -y
sudo apt-get install libgnomeprintui2.2-0 -y
sudo apt-get install libgnomeprintui2.2-dev -y
sudo apt-get install gtk2-engines-pixbuf -y
sudo apt-get install libXxf86vm-dev -y
Double click and run it in the terminal.sudo chmod +x pb-dependencies.sh
Run check-install.sh
Make sure everything is correct.
Run Purebasic
EDIT: Forgot to add - You will also need to Symlink the libstdc++.so.6 again.
sudo ln -s /usr/lib/i386-linux-gnu/libstdc++.so.6.0.14 /usr/lib/libstdc++.so.6


