Skip to main content
0 votes
0 answers
139 views

ImportError: undefined symbol: PyUnicode_AsUnicode

While execuiting the code in Google Colab, I got an error: ImportError: /usr/local/lib/python3.12/dist-packages/libtorrent.so: undefined symbol: PyUnicode_AsUnicode I saw in comments for similar ...
still demon's user avatar
0 votes
0 answers
148 views

Detect unimplemented class methods without a program failing to link

Suppose I am working on a library with a decent number of classes, most of them having a bunch of methods, in addition to the basic ctors and dtor. For reasons, the method implementations are spread ...
einpoklum's user avatar
  • 137k
0 votes
0 answers
86 views

Undefined symbols when using -Onone optimization level in Xcode 16

I am encountering a linker error when building my project with the No Optimization (-Onone) option in Xcode 16. The project compiles and runs fine with the Optimize for Speed (-O) option, but when I ...
myself's user avatar
  • 99
1 vote
0 answers
216 views

___isPlatformVersionAtLeast is undefined symbols for architecture arm64

I developed a rust project. Recently the following error occurred when compile with cargo build: ld: warning: object file (/Users/allevo/repos/rustorama/target/debug/deps/libpsm-...
allevo's user avatar
  • 1,112
0 votes
1 answer
108 views

Create a dynamic library with unresolved symbols at link time with mingw-w64

I have a file mylib.c with the following content: extern void some_function(void); int add(int a, int b) { some_function(); return a+b; } I want to create a shared library from it. The ...
Konrad Koschel's user avatar
2 votes
0 answers
104 views

Linker error for app with in-app review and logging

As a Swift noob, I am getting the following linker error in Xcode when running my app: ld: Undefined symbols: os.Logger.logObject.getter : __C.OS_os_log, referenced from: (1) suspend resume ...
Cengiz's user avatar
  • 21
1 vote
1 answer
61 views

The problem with explicitly linking the library

I have written a dynamic library libsort.so and connected it implicitly. Then I connected it explicitly through the keyboard. After compiling, I got the error undefined symbol. The file sort.cpp and ...
Fuhrer_BMSTU's user avatar
1 vote
1 answer
219 views

Python ctypes failed call .so library on Linux, OSError: ./libEFWFilter.so.1.7: undefined symbol: udev_enumerate_new

There is a filter wheel SDK, named "libEFWFilter.so", provided by ZWO company. The downloaded link is https://dl.zwoastro.com/software?app=DeveloperEfwSdk&platform=windows86&region=...
lilala's user avatar
  • 13
0 votes
0 answers
137 views

Undefined symbol in trying to install data.table package for R version 4.3.1 in Ubuntu 22.04

Trying to install data.table package in Ubuntu 22.04 for R 4.3.1 but still cannot go past this error: Error: package or namespace load failed for ‘data.table’ in dyn.load(file, DLLpath = DLLpath, ......
Neodim Kollobok's user avatar
0 votes
1 answer
834 views

Strange undefined symbol behaviour in shared library

I have encountered a strange case of undefined symbols in a share library that I cannot resolve. Let's say that my program needs to use a library A, which in turn depends on another library B, neither ...
tegonzalo's user avatar
0 votes
0 answers
89 views

Using prebuilt Opencv as thirdparty with Bazel: undefined symbol: gzopen

I am trying to use OpenCV in my cpp project with bazel. This is the structure: -WORKSPACE -tutorial2 main.cpp BUILD.bazel -thirdparty -opencv ...
El_Loco's user avatar
  • 1,916
1 vote
1 answer
99 views

What does "undefined symbol: stringread" mean?

I'm working on a big project for my college class. I put a string/array in the .data section like this: stringread BYTE DUP(STRSIZE) And in main I have: push OFFSET stringread push esi call ...
outerspec's user avatar
0 votes
1 answer
348 views

How to remove "undefined symbol" error in Objective-C?

I declare the variable ue in my global.h file as Extern int ue;. I have #include "global.h" on all view controllers where I want to use the variable. If I don't assign a value to ue my ...
tombuarts's user avatar
  • 115
0 votes
1 answer
699 views

Undefined symbol while importing so. file

I was running a code of (https://github.com/google-deepmind/constrained_optidice) for research purpose. When I tried to run neural/run_experiments after installing the requirements as stated, it gave ...
Minjae Cho's user avatar
0 votes
0 answers
30 views

Explicit template instanciation but still undefined reference (with g++, but not with clang++)

In the code below, I am getting main.cpp: undefined reference to `(anonymous namespace)::_result<int, double>::type PPP<int>::operator()<double>(...
emacs drives me nuts's user avatar

15 30 50 per page
1
2 3 4 5
29