Public bug reported:

trying to compile a program that depends on libphysfs.a I get errors
like "filestream.cpp:(.text+0x712): referência indefinida para
`PHYSFS_read'" for all the physfs methods.

executing "nm /usr/lib/x86_64-linux-gnu/libphysfs.a" returns "
physfs.o:
nm: physfs.o: nenhum símbolo

physfs_byteorder.o:
nm: physfs_byteorder.o: nenhum símbolo

physfs_unicode.o:
nm: physfs_unicode.o: nenhum símbolo
"
and so on.

In another machine I tried downloading the sources for libphysfs.a, then
built it and replaced the defective lib. That solved the problem.

additional details:
lsb_release -rd
Description:    Ubuntu 15.10
Release:        15.10

apt-cache policy libphysfs-dev
libphysfs-dev:
  Instalado: 2.0.3-3
  Candidato: 2.0.3-3
  Tabela de versão:
 *** 2.0.3-3 0
        500 http://br.archive.ubuntu.com/ubuntu/ wily/universe amd64 Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: libphysfs-dev 2.0.3-3 [modified: usr/lib/x86_64-linux-gnu/libphysfs.a]
Uname: Linux 4.5.0-040500rc5-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.19.1-0ubuntu5
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Mar 31 12:41:11 2016
InstallationDate: Installed on 2015-09-05 (208 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
JournalErrors:
 No journal files were found.
 -- No entries --
ProcEnviron:
 LANGUAGE=pt_BR:pt:en
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=pt_BR.UTF-8
 SHELL=/bin/bash
SourcePackage: libphysfs
UpgradeStatus: Upgraded to wily on 2015-12-05 (117 days ago)

** Affects: libphysfs (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug wily

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1564482

Title:
  missing symbols on libphysfs.a file

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libphysfs/+bug/1564482/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to