Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 21335a9

Browse filesBrowse files
committed
resolve a missing symbol error under ubuntu 16
On ubuntu 16, and possibly newer, this error occurs when doing a static build. undefined symbol: _ZTVN10__cxxabiv117__class_type_infoE Add -lstdc++ to the libraries to resolve. Code remains functional under older versions.
1 parent 50fa27d commit 21335a9
Copy full SHA for 21335a9

File tree

Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed

‎setup_posix.py

Copy file name to clipboardExpand all lines: setup_posix.py
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ def get_config():
8383
break
8484

8585
if static:
86+
libraries.append('stdc++')
8687
extra_objects.append(os.path.join(library_dirs[0], 'lib%s.a' % client))
8788
if client in libraries:
8889
libraries.remove(client)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.