I've not seen any other replies to this thread, so I'll go ahead and send what I had drafted before waiting in the hopes that someone more knowledgeable than I would reply. But, maybe my experience compiling things will get you on the proper path.

On 9/6/23 10:16 AM, Oscar wrote:
Hello,

Hi,

Everything is fine until we run make to compile the plugin. Tt fails because somehow a file is missing, but AFAIK the file is where is supposed to be.

Please elaborate on "what file" and "where (it) is supposed to be". What file name are you looking for and where are you looking.

Has anyone succeeded in compiling mod_wsgi on z/OS (we are at 2.4)?

I've never tried.

make output: https://pastebin.com/raw/AhW6UMSh

Having spent a lot of time looking at make output and compiling things in years past, my thoughts are below.

libtoolexe: cc -Wl,DLL -o src/server/mod_wsgi.so -Wc,-qcpluscmt -Wc,-qlanglvl=extc99 -Wc,XPLINK,lp64,dll,expo -Wl,XPLINK,lp64 -O3 -U_NO_PROTO -DSIGPROCMASK_SETS_THREAD_MASK -DTCP_NODELAY=1 -L/u/ames/fixpack/blddir/destdir/home/oscar/apache/lib -L/u/ames/fixpack/blddir/destdir/u/ames/fixpack/blddir/destdir/home/oscar/apache/lib src/server/wsgi_apache.o src/server/mod_wsgi.o -L/STAGIN/IBM/python39/usr/lpp/IBM/cyp/v3r9/pyz/lib -L/STAGIN/IBM/python39/usr/lpp/IBM/cyp/v3r9/pyz/lib/python3.9/config-3.9 -lpython3.9 -ldl -lm /STAGIN/IBM/python39/usr/lpp/IBM/cyp/v3r9/pyz/lib/python3.9/config-3.9/libpython3.9.x /home/oscar/apache/lib/apachecore.x /home/oscar/apache/lib/apachecore.x /home/oscar/apache/lib/libapr-1.x /home/oscar/apache/lib/libaprutil-1.x /home/oscar/apache/lib/liblua.x
FSUM3067 The archive library python3.9 (libpython3.9.a) cannot be found.

libtoolexe / cc can't find a library that they are looking for.

I assume that they are looking for libpython3.9.a in a typical library location.

This may be that the library itself can't be found and / or the headers therefor can't be found.

If you recently added said library / headers, try runing ldconfig to update the dynamic linker's cache of what libraries are where.

make file: https://pastebin.com/raw/PJs2d5C7

Thanks in advance!



--
Grant. . . .
unix || die

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to