Solved Stellarium launching error

I installed Stellarium through pkg install stellarium on FreeBSD 10.1, installation reported no error.

However, I received error when launching the application:

Code:
$ stellarium
/usr/local/lib/libpng16.so.16: version PNG16_0 required by /usr/local/lib/libQt5Gui.so.5 not defined
$
 
I prefer working with packages, but some application I want to install, like Googleearth does not exist in package form.

And other application, like Palemoon (a Firefox alternative), does not even come in ports.
 
I guess graphics/png is installed. I am not clear what means "not defined" in this case.
Try to remove it with pkg delete stellarium and try to compile it in port.

What says ls -al /usr/local/lib/libpng16*?
(The output should show this line
Code:
lrwxr-xr-x  1 root  wheel  19 29 Jul 11:47 /usr/local/lib/libpng16.so.16 -> libpng16.so.16.17.0
)


I guess your system is updated and you have the latest version of ports-mgmt/pkg. (1.5.5)
 
I'm revisiting the post because the issue hasn't been resolved.

output of ls -al /usr/local/lib/libpng16*


Code:
$  ls -al /usr/local/lib/libpng16*
-rw-r--r--  1 root  wheel  255220 Apr 26 13:47 /usr/local/lib/libpng16.a
lrwxr-xr-x  1 root  wheel  14 Apr 26 13:47 /usr/local/lib/libpng16.so -> libpng16.so.16
lrwxr-xr-x  1 root  wheel  19 Apr 26 13:47 /usr/local/lib/libpng16.so.16 -> libpng16.so.16.17.0
-rwxr-xr-x  1 root  wheel  214196 Apr 26 13:47 /usr/local/lib/libpng16.so.16.17.0

After some reading, I found several people who attributed this effect
to problems with Qt 4/5 and claim were that pkg install were not "aggressive" enough in
updating required packages thus some packages were not updated although
they should have been.
 
I installed the app through pkg.

There's no .stellarium folder in home directory.
 
Last edited by a moderator:
Code:
ls -al .stellarium/
total 48
drwxr-xr-x  5 user  wheel  512 30 Aug 13:40 .
drwxr-xr-x  63 user  wheel  2560 30 Aug 19:08 ..
-rw-r--r--  1 user  wheel  16760 30 Aug 13:40 config.ini
drwxr-xr-x  2 user  wheel  512  3 Aug 09:26 data
-rw-r--r--  1 user  wheel  6198 30 Aug 13:40 log.txt
drwxr-xr-x  7 user  wheel  512  3 Aug 09:26 modules
-rw-r--r--  1 user  wheel  0 30 Aug 13:40 output.txt
drwxr-xr-x  3 user  wheel  512  3 Aug 09:25 stars

Looks like a bug. Either you install it in the port or you file a PR on https://bugs.freebsd.org/bugzilla/, or you waiting for the new package
(I guess next week friday).
I install it in the port. The port installation works fine from the desktop and the commandline, like the old.
 
I spent some more time on this, here's what I've done.

First tried upgrading Stellarium to the latest version, stellarium-0.13.3_1, application still would not launch - same error.

Then I upgraded my system to the FreeBSD 10.2, and reinstall Stellarium.

freebsd-update upgrade -r 10.2
freebsd-update install
shutdown -r now
freebsd-update install
sudo pkg delete stellarium
sudo pkg autoremove
sudo pkg install stellarium


Stellarium can be launched now, although with an alert that GL need to be upgraded, that's another issue.

thanks!
 
Back
Top