Title: undefined symbol: PyExc_SystemError · Issue #81 · grisha/mod_python · GitHub
Open Graph Title: undefined symbol: PyExc_SystemError · Issue #81 · grisha/mod_python
X Title: undefined symbol: PyExc_SystemError · Issue #81 · grisha/mod_python
Description: OS: Debian Buster mod_python: master HEAD (7af8011) /usr/src/mod_python# ./configure --with-python=/usr/bin/python3 checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... ...
Open Graph Description: OS: Debian Buster mod_python: master HEAD (7af8011) /usr/src/mod_python# ./configure --with-python=/usr/bin/python3 checking for gcc... gcc checking whether the C compiler works... yes checking for...
X Description: OS: Debian Buster mod_python: master HEAD (7af8011) /usr/src/mod_python# ./configure --with-python=/usr/bin/python3 checking for gcc... gcc checking whether the C compiler works... yes checking for...
Opengraph URL: https://github.com/grisha/mod_python/issues/81
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"undefined symbol: PyExc_SystemError","articleBody":"OS: Debian Buster\r\nmod_python: master HEAD (7af8011)\r\n\r\n```\r\n/usr/src/mod_python# ./configure --with-python=/usr/bin/python3\r\nchecking for gcc... gcc\r\nchecking whether the C compiler works... yes\r\nchecking for C compiler default output file name... a.out\r\nchecking for suffix of executables... \r\nchecking whether we are cross compiling... no\r\nchecking for suffix of object files... o\r\nchecking whether we are using the GNU C compiler... yes\r\nchecking whether gcc accepts -g... yes\r\nchecking for gcc option to accept ISO C89... none needed\r\nchecking for ar... ar\r\nchecking for a BSD-compatible install... /usr/bin/install -c\r\nchecking whether make sets $(MAKE)... yes\r\nchecking for main in -lm... yes\r\nchecking for an ANSI C-conforming const... yes\r\nchecking your blood pressure... a bit high, but we can proceed\r\nconfigure: checking whether apxs is available...\r\nchecking for apxs2... /usr/bin/apxs2\r\nchecking Apache version... 2.4.38\r\nchecking for Apache libexec directory... /usr/lib/apache2/modules\r\nchecking for Apache include directory... -I/usr/include/apache2\r\nchecking for --with-python... /usr/bin/python3\r\nchecking Python version... 3.7\r\nchecking for --with-mutex-dir... no\r\nUsing MUTEX_DIR /tmp\r\nchecking for --with-max-locks... no\r\nUsing 8 MAX_LOCKS.\r\nchecking for --with-flex... no\r\nchecking for flex... /usr/bin/flex\r\nfound /usr/bin/flex, we'll use this. Use --with-flex to specify another.\r\nchecking flex version... configure: WARNING: Flex version 2.6.4 found.\r\n Version 2.5.31 or greater is required. You can generally ignore this\r\n warning unless you need to regenerate psp_parser.c from psp_parse.l.\r\n If you do need regenerate psp_parser.c, use --with-flex to specify the\r\n location of the correct flex version. See the README for more information.\r\nconfigure: creating ./config.status\r\nconfig.status: creating Makefile\r\nconfig.status: creating src/Makefile\r\nconfig.status: creating Doc/Makefile\r\nconfig.status: creating src/include/mod_python.h\r\nconfig.status: creating test/Makefile\r\nconfig.status: creating dist/setup.py\r\nconfig.status: creating dist/Makefile\r\nconfig.status: creating scripts/Makefile\r\nconfig.status: creating scripts/mod_python\r\n```\r\n\r\nRunning `make test` yields following errors: `apache2: Syntax error on line 57 of /usr/src/mod_python/test/conf/test.conf: Cannot load /usr/src/mod_python/src/mod_python.so into server: /usr/src/mod_python/src/mod_python.so: undefined symbol: PyExc_SystemError`\r\n\r\nSeems like libpython is not linked properly:\r\n```\r\n:/usr/src/mod_python# ldd src/mod_python.so \r\n\tlinux-vdso.so.1 (0x00007fffd907c000)\r\n\tlibcrypt.so.1 =\u003e /lib/x86_64-linux-gnu/libcrypt.so.1 (0x00007f4494320000)\r\n\tlibpthread.so.0 =\u003e /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f44942ff000)\r\n\tlibdl.so.2 =\u003e /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f44942f0000)\r\n\tlibutil.so.1 =\u003e /lib/x86_64-linux-gnu/libutil.so.1 (0x00007f44942e0000)\r\n\tlibc.so.6 =\u003e /lib/x86_64-linux-gnu/libc.so.6 (0x00007f4494110000)\r\n\t/lib64/ld-linux-x86-64.so.2 (0x00007f449439d000)\r\n```\r\n\r\nAny hints on how to solve this?\r\n\r\nThanks in advance\r\nIgor","author":{"url":"https://github.com/jenner","@type":"Person","name":"jenner"},"datePublished":"2019-11-08T09:41:50.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/81/mod_python/issues/81"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f6ba8bfc-d675-0587-bef1-012b7c8f20b2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C634:2FEA35:3ABE99:5321A9:6A4E6B2A |
| html-safe-nonce | 11be775eae6a75c08fa4c7213050c02fdda334fe2cb0f38405587950e27560f5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNjM0OjJGRUEzNTozQUJFOTk6NTMyMUE5OjZBNEU2QjJBIiwidmlzaXRvcl9pZCI6IjMxMzQ0MTUyNjQwODQyOTAzNDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2facad25ea5b7b5b932a831ff3b2112dc1cad46e6e94f24bb64c7bf2693d9c47 |
| hovercard-subject-tag | issue:519912009 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/grisha/mod_python/81/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9ee3e44c9de19bdffed3bd7774fdb6fb2c695c8c6aa23e918471b38fe42a7b6e/grisha/mod_python/issues/81 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9ee3e44c9de19bdffed3bd7774fdb6fb2c695c8c6aa23e918471b38fe42a7b6e/grisha/mod_python/issues/81 |
| og:image:alt | OS: Debian Buster mod_python: master HEAD (7af8011) /usr/src/mod_python# ./configure --with-python=/usr/bin/python3 checking for gcc... gcc checking whether the C compiler works... yes checking for... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jenner |
| hostname | github.com |
| expected-hostname | github.com |
| None | 41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c |
| turbo-cache-control | no-preview |
| go-import | github.com/grisha/mod_python git https://github.com/grisha/mod_python.git |
| octolytics-dimension-user_id | 243835 |
| octolytics-dimension-user_login | grisha |
| octolytics-dimension-repository_id | 7504434 |
| octolytics-dimension-repository_nwo | grisha/mod_python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 7504434 |
| octolytics-dimension-repository_network_root_nwo | grisha/mod_python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e6a744804e8e70f97b4d5a18a94dcc63db22f97a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width