#18040 closed bug (fixed)
missing symbol _ZN8BPrivate10HashStringD1Ev
Reported by: | Nexus-6 | Owned by: | axeld |
---|---|---|---|
Priority: | normal | Milestone: | R1/beta4 |
Component: | Network & Internet/Stack | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | #18041 | |
Platform: | x86-64 |
Description
Hi, with hrev56575 WebPositive and Weather stopped working firing these erros:
~> /boot/system/apps/WebPositive runtime_loader: /boot/system/lib/libWebKitLegacy.so.1.8.4: Could not resolve symbol '_ZN8BPrivate10HashStringD1Ev' resolve symbol "_ZN8BPrivate10HashStringD1Ev" returned: -2147478780 runtime_loader: /boot/system/lib/libWebKitLegacy.so.1.8.4: Troubles relocating: Symbol not found ~> /boot/system/apps/Weather runtime_loader: /boot/system/apps/Weather: Could not resolve symbol '_ZN8BPrivate10HashStringD1Ev' resolve symbol "_ZN8BPrivate10HashStringD1Ev" returned: -2147478780 runtime_loader: /boot/system/apps/Weather: Troubles relocating: Symbol not found
I presume it is a problem with apps using libnetservices, other services/apps are not affected (e.g. Epiphany, Telegram, Vision).
Change History (17)
comment:1 by , 2 years ago
comment:2 by , 2 years ago
follow-ups: 4 5 comment:3 by , 2 years ago
I can’t tell about WebPositive but Weather already links against libshared.a. It also does not compile under the latest nightly, the problem is the same missing symbol but the culprit seems to be libnetservices where the symbol is referenced.
comment:4 by , 2 years ago
Replying to Nexus-6:
I can’t tell about WebPositive but Weather already links against libshared.a. It also does not compile under the latest nightly, the problem is the same missing symbol but the culprit seems to be libnetservices where the symbol is referenced.
You just need to change the link order to move libshared later in the list of libs
diff --git a/Makefile b/Makefile index b68d086..6a3d3c7 100644 --- a/Makefile +++ b/Makefile @@ -61,7 +61,7 @@ RSRCS = \ # - if your library does not follow the standard library naming scheme, # you need to specify the path to the library and it's name. # (e.g. for mylib.a, specify "mylib.a" or "path/mylib.a") -LIBS = be bnetapi localestub shared translation netservices $(STDCPPLIBS) +LIBS = be bnetapi localestub translation netservices shared $(STDCPPLIBS) # Specify additional paths to directories following the standard libXXX.so # or libXXX.a naming scheme. You can specify full paths or paths relative
comment:5 by , 2 years ago
Replying to Nexus-6:
I can’t tell about WebPositive but Weather already links against libshared.a. It also does not compile under the latest nightly, the problem is the same missing symbol but the culprit seems to be libnetservices where the symbol is referenced.
It's not really WebPositive, but webkit. It also doesn't compile under hrev56578, and adding libshared fixes it and makes WebPositive run.
comment:7 by , 2 years ago
Blocking: | 18041 added |
---|
comment:10 by , 2 years ago
comment:13 by , 2 years ago
We don't need everyone to list every revision of Haiku here. Especially as this is not to be solved at Haiku side, we will update all affected apps on Haikuports.
comment:14 by , 2 years ago
Well, in the latest (56584) BePdf and Web Positive and some more native apps are all failing with "Symbol not found" which hints at a missing library in the builds for at least 7 builds. They are not installable from Haikuports as they are not ported.
comment:15 by , 2 years ago
BePDF is built at HaikuPorts. WebPositive's missing symbol error comes from HaikuWebKit which is also built at HaikuPorts.
comment:16 by , 2 years ago
Milestone: | → R1/beta4 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
There is now a ticket at HaikuPorts to track these problems: https://github.com/haikuports/haikuports/issues/7383
Probably
libshared.a
need to be added to these apps link dependencies. See https://git.haiku-os.org/haiku/commit/?id=16081dd2fa89fbc51c11ad907bed751a8a2b36ab.