Can't find modules or libraries

I am trying to compile some fortran 90 code. I am using the -M option to specify the location of modules as indicated by the following line:
f90 -M/home2/pncgisho/jensen/apps/f90gl-1.2.9/include/GL -c mod_OpenGL_visualization.f90
However, I get the following error message:
use opengl_glut
^
"mod_OpenGL_visualization.f90", Line = 3, Column = 6: ERROR: "OPENGL_GLUT" is specified as the module name on a USE statement, but the compiler cannot find it.
I know that the module is located in the directory as specified. The most frustrating aspect of the problem is that on another machine (both are SunBlade 2000's) the compiler can find the modules. I have the directories configured exactly the same on both machines and I use the exact same makefile. Do you have any suggestions as to why the compiler cannot find the modules?
I am also having a similar issue with the linker not being able to locate libraries, eventhough I am using the -L and -l options to specify the location and names. With the libraries, if I give the complete path and name of the library (i.e., /usr/lib/libmylib.a), the linker will find it. Otherwise I get the message that the linker cannot find the libraries.
Any help will be greatly appreciated.
Sincerely,
Richard Jensen

The option -M is the one you want. Is the directory containing the
.mod file on the machine where the compilation is done? If not,
try copying the .mod file to a directory on the machine where the
compilation is done, and use the option -M to specify that
directory. If you are accessing the file using NFS, you might need
to prefix the pathname for the directory.
Sincerely,
Bob Corbett

Similar Messages

  • Where can I find 64-bit-libraries in the system

    Hallo,
    I have a small problem. A collegue want to compile a C-program on my machine, a V880 with solaris9. The linker tells him that he is unable to find the 64-bit-libraries.
    Where can I find these libraries???
    Could somebody help?
    Thanks
    rossi

    The binaries normaly resides in directories named "64" or "sparcv9".
    Examples:
    /usr/lib/64/
    /usr/lib/sparcv9/
    You can test if it's a 64-bit binary by using the "file" command:
    bash-3.00# file /usr/lib/sparcv9/libmp.so
    /usr/lib/sparcv9/libmp.so: ELF 64-bit MSB dynamic lib SPARCV9 Version 1, dynamically linked, not stripped
    Hope this helps.

  • Kernel Panic!!! Can't find modules.dep

    Hello, everybody,
    Yesterday I followed the Kernel Compilation From Source topic on arch's wiki. So i did:
    wget -c http://kernel.org/pub/linux/kernel/v2.6 … 31.tar.bz2 (not 2.6.28)
    cp linux-2.6.31.tar.bz2 ~/kernelbuild/
    cd ~/kernelbuild
    tar -xvjf linux-2.6.31.tar.bz2
    cd ~/kernelbuild/linux-2.6.31
    make mrproper
    make menuconfig
    I didn't change nothing in menuconfig.
    So I created PKGBUILD and kernel26.install
    makepkg -c
    pacman -U kernel26-my-2.6.31.5-1-i686.pkg.tar.gz
    Everything with no problems. Except for one thing. When I did "pacman -U kernel26-my-2.6.31.5-1-i686.pkg.tar.gz" it returned conflicts with: vmlinuz26.img and *.map (I don't remember the names, the first it something like vmlinuz26.img but the second I only remember the extension *.map, I problably can remember if i see the names again). So I deleted these 2 files (I thought the new kernel would create these 2 files again).  After delete them, I runned again "pacman -U kernel26-my-2.6.31.5-1-i686.pkg.tar.gz", now with no erros. I restarted and BOOM!!!
    When I start appears the ERROR: could not load /lib/modules/2.6.31/modules.dep: file not found
    But I started from my Ubuntu and I can see modules.dep there. Maybe, it is searching in the /boot directory, instead the /
    What I must to do now? Is there a way to recover the old kernel? I think I made a backup. But I don't know how to access it, because my Ubuntu can't (only the owner can) and I don't how to use the live cd, because I know the Ubuntu-like live cd, but I can't find a live cd for Arch. So, is there a way to solve the problem? Please, reinstall Arch is the last option.
    ----------- EDIT ---------------
    Maybe I have to configure my bootloader (GRUB). But how do I do that?
    Last edited by igmx94 (2009-12-07 14:03:46)

    Gcool wrote:Have a read through this.
    Actually, turns out I was reading that when you posted.
    Here's where I'm stuck.
    After mounting proc, sys, and dev I did the mkinitcpio but now I receive:
    ERROR: '/lib/modules/3.0-ARCH/' is not a valid kernel module directory
    Which is accurate, because my /lib/modules is 3.3.4-1-ARCH. 
    So I checked for what could be setting that incorrectly with
    grep -r "3.0-ARCH"
    Only thing I found was in etc/mkinitcpio.d/exmple.preset
    But even in that file the line is commented out with #fallback_kver="3.0-ARCH".
    I didn't think I was using any defaults since I specify the -c command to mkinitcpio.
    Where is it getting this 3.0-ARCH kernel version from?

  • Powershell can't find modules that worked before

    Hi All, I am hoping someone can provide a simple solution to my question. For starters, here is what I am working with:
    OS: Windows Server 2012 R2 setup in an RDS farm configuration
    Powershell Info:
    Name                           Value                                                                                  
    PSVersion                      4.0                                                                                    
    WSManStackVersion              3.0                                                                                    
    SerializationVersion           1.1.0.1                                                                                
    CLRVersion                     4.0.30319.34209                                                                        
    BuildVersion                   6.3.9600.17400                                                                         
    PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0}                                                                   
    PSRemotingProtocolVersion      2.2       
    About a week ago I was able to launch powershell, type import-module remotedesktop and press enter so that I could perform various RDS functions in Powershell that cannot be done through the Windows GUI.
    Now when I attempt to do so, I get the following:
    import-module : Could not load file or assembly 'Microsoft.RemoteDesktopServices.Management.Activities,
    Version=6.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find
    the file specified.
    At line:1 char:1
    + import-module remotedesktop
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidOperation: (:) [Import-Module], FileNotFoundException
        + FullyQualifiedErrorId : FormatXmlUpdateException,Microsoft.PowerShell.Commands.ImportModuleCommand
    When I look under C:\Windows\System32\WindowsPowerShell\v1.0\Modules I can see a folder for RemoteDesktop and it contains Powershell scriptmodules. No windows updates were applied to the server and the event logs are clean as a whistle.
    My question is simple, what did I do wrong?
    Update:
    when I open a command prompt window and type
    "powershell -importsystemmodules", I am then able to proceed to
    import-module remotedesktop from the CMD prompt and perform the functions that I need to do. Not sure why in the world this would suddenly work only under CMD and not Powershell.                 

    Hi All, I am hoping someone can provide a simple solution to my question. For starters, here is what I am working with:
    OS: Windows Server 2012 R2 setup in an RDS farm configuration
    Powershell Info:
    Name                           Value                                                                                  
    PSVersion                      4.0                                                                                    
    WSManStackVersion              3.0                                                                                    
    SerializationVersion           1.1.0.1                                                                                
    CLRVersion                     4.0.30319.34209                                                                        
    BuildVersion                   6.3.9600.17400                                                                         
    PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0}                                                                   
    PSRemotingProtocolVersion      2.2       
    About a week ago I was able to launch powershell, type import-module remotedesktop and press enter so that I could perform various RDS functions in Powershell that cannot be done through the Windows GUI.
    Now when I attempt to do so, I get the following:
    import-module : Could not load file or assembly 'Microsoft.RemoteDesktopServices.Management.Activities,
    Version=6.3.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find
    the file specified.
    At line:1 char:1
    + import-module remotedesktop
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidOperation: (:) [Import-Module], FileNotFoundException
        + FullyQualifiedErrorId : FormatXmlUpdateException,Microsoft.PowerShell.Commands.ImportModuleCommand
    When I look under C:\Windows\System32\WindowsPowerShell\v1.0\Modules I can see a folder for RemoteDesktop and it contains Powershell scriptmodules. No windows updates were applied to the server and the event logs are clean as a whistle.
    My question is simple, what did I do wrong?

  • CFP-2000 can't find modules on bank

    Hello,
    I'm using this cFP-2000 for a while, and now I have another problem:
    The cFP-2000 cannot find any module connected to it, when I go to MAX and ask to find devices, all I got is the controller itself.
    I already did change the IP, the power supply, format the field point and install old drivers, but nothing changed.
    The LED "Ready" on the modules remain off, only the "Power" LED is ON the entire time.
    Does anyone know how to solve this problem?
    Thanks in advance.

    I'm completely sorry, Abel_Souza, but we're in the middle of something big and I could not stop the system for a detailed analisys until now.
    It seems that the cFP-2000 can only operate the module on the first position of the bank, any module inserted here works, but when it comes to another slot it won't turn on the "Ready" LED and can't be identified on MAX.
    The report is provided in the attachment.
    I hope you can help me with that.
    Greetings,
    Tassio Borges.
    Attachments:
    ni_support.zip ‏46 KB

  • Xorg trouble can't find module "r128" [Solved]

    Hello Everybody,
    After upgrading to the latest Xorg, I can't get the "r128" driver to load, which should be included in the xf86-video-ati package, I can get X to start with the "vesa" driver and NoAccel options set, but the "r128" driver used to work very well, even providing direct rendering.  I have to have the "AllowEmptyInput" "off" option, in order to have my input
    devices to respond, the rest of the xorg.conf is pretty much stock except I've set my default depth very to 8 to  improve usability and I've turned hardware accelleration off. 
    I believe I should be using the r128 driver, which should be provided by xf86-video-ati and, yes, it's installed.  My graphics card is an ati rage 128 rl/vr agp.
    If I switch the driver to either "r128" or "ait" it will give me an error message that the "r128 module does not exist" or something along those lines.  I'm also having trouble with the onboard intel graphics on my other desktop, but I'll probably post about that in another thread, since there I can't get things to work even with the Vesa driver.
    Section "ServerLayout"
    Option "AllowEmptyInput" "off"
    Identifier "X.org Configured"
    Screen 0 "Screen0" 0 0
    InputDevice "Mouse0" "CorePointer"
    InputDevice "Keyboard0" "CoreKeyboard"
    EndSection
    Section "Files"
    ModulePath "/usr/lib/xorg/modules"
    FontPath "/usr/share/fonts/misc"
    FontPath "/usr/share/fonts/100dpi:unscaled"
    FontPath "/usr/share/fonts/75dpi:unscaled"
    FontPath "/usr/share/fonts/TTF"
    FontPath "/usr/share/fonts/Type1"
    EndSection
    Section "Module"
    Load "glx"
    Load "extmod"
    Load "xtrap"
    Load "dbe"
    Load "dri"
    Load "freetype"
    EndSection
    Section "InputDevice"
    Identifier "Keyboard0"
    Driver "kbd"
    EndSection
    Section "InputDevice"
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/input/mice"
    Option "ZAxisMapping" "4 5 6 7"
    EndSection
    Section "Monitor"
    Identifier "Monitor0"
    VendorName "Monitor Vendor"
    ModelName "Monitor Model"
    EndSection
    Section "Device"
    ### Available Driver options are:-
    ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
    ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
    ### [arg]: arg optional
    #Option "ShadowFB" # [<bool>]
    #Option "KGAUniversal" # [<bool>]
    Option "NoAccel" "True"
    Identifier "Card0"
    Driver "vesa"
    VendorName "ATI Technologies Inc"
    BoardName "Rage 128 RL/VR AGP"
    BusID "PCI:1:0:0"
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Card0"
    Monitor "Monitor0"
    DefaultDepth 8
    SubSection "Display"
    Viewport 0 0
    Depth 1
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 4
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 8
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 15
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 16
    EndSubSection
    SubSection "Display"
    Viewport 0 0
    Depth 24
    EndSubSection
    EndSection
    Edit: Here's the veribatim error messages:
    xauth: creating new authority file /home/fred/.serverauth.11907
    X.Org X Server 1.5.3
    Release Date: 5 November 2008
    X Protocol Version 11, Revision 0
    Build Operating System: Linux 2.6.27-ARCH i686
    Current Operating System: Linux tom_servo 2.6.27-ARCH #1 SMP PREEMPT Fri Nov 28 10:56:24 UTC 2008 i686
    Build Date: 09 November 2008 07:16:27PM
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (==) Log file: "/var/log/Xorg.0.log", Time: Sun Nov 30 18:05:34 2008
    (==) Using config file: "/etc/X11/xorg.conf"
    (EE) Failed to load module "r128" (module does not exist, 0)
    (EE) No drivers available.
    Fatal server error:
    no screens found
    giving up.
    xinit: No such file or directory (errno 2): unable to connect to X server
    xinit: No such process (errno 3): Server error.
    setting driver to "ati" and "r128" produces the same output, driver "radeon" tells me no devices are detected.  The catalyst driver says it supports radeons, so I don't think it would support my card anyway, so I haven't bothered to try it.
    Help would be appreciated
    Last edited by pseudonomous (2008-12-01 19:20:13)

    The -ati driver only supports Radeon cards with the new Xorg. Install xf86-video-r128.

  • App started by ProcessBuilder can't find extracted native libraries

    Hi all,
    I have a strange issue with my application.
    This is what I want:
    1: My Java bootloader (main class that starts another application with ProcessBuilder) search on the classpath for config files containing startup properties. The bootloader sets environment variables and vm properties like LD_LIBRARY_PATH and the -Xmx and starts the real application.
    2: The application extracts native libraries based on OS and Archtype to a temp folder based on a timestamp (LD_LIBRARY_PATH refers to that temp folder). The native libraries are packed in jar files, that are placed on the classpath.
    3: The application loads the native libraries. In my scenario there are 3 native libs. 1 of the files have a dependency to the other 2. (loadlibrary of the one use the LD_LIBRARY_PATH to locate the other 2 on Linux)
    This is working correctly at Windows and also on Linux when I did NOT use the ProcessBuilder but start the process directly (and set the LD_LIBRARY_PATH before starting the application).
    Under Linux (with using my Java bootloader) I have the problem that my application [ System.load(...) ] throws an exception that the related libraries can't be found when loading the library. But when I hardcode/reuse my temp folder, so that the files are already available when starting the bootloader, the loading will succeed. The LD_LIBRARY_PATH always reference to the correct path of the native libraries.
    I don't understand what is wrong? Any ideas?

    My console dumps (with some added comments). The environment variables seems to be set correctly.
    ### DUMP from JAVA application with generated temp folder -> comments in brackets [] added to dump
    TVDS_TMP_DIR=/tmp/tvds1895770185265633201 [GENERATED and set by process builder]
    LD_LIBRARY_PATH=/tmp/tvds1895770185265633201/native-libs [used System.getEnv("LD_LIBRARY_PATH")]
    Extracting /tmp/tvds1895770185265633201/native-libs/libMSPdtcc.so
    INFO: Loading /tmp/tvds1895770185265633201/native-libs/libMSPdtcc.so [not needed to load]
    Extracting /tmp/tvds1895770185265633201/native-libs/libMSPCoordinateConversionService.so
    INFO: Loading /tmp/tvds1895770185265633201/native-libs/libMSPCoordinateConversionService.so [not needed to load]
    Extracting /tmp/tvds1895770185265633201/native-libs/libjnimsp.so
    INFO: Loading /tmp/tvds1895770185265633201/native-libs/libjnimsp_ccs.so [dependencies are libMSPdtcc.so & libMSPCoordinateConversionService.so]
    Caused by: java.lang.UnsatisfiedLinkError: /tmp/tvds1895770185265633201/native-libs/libjnimsp_ccs.so: libMSPdtcc.so: cannot open shared object file: No such file or directory
         at java.lang.ClassLoader$NativeLibrary.load(Native Method)
         at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1939)
         at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1864)
         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1825)
         at java.lang.Runtime.load0(Runtime.java:792)
         at java.lang.System.load(System.java:1059)
         at site_extras.dependency_util.NativeLibLoader.loadLibrary(NativeLibLoader.java:58)
         ... 31 more
    ### DUMP from JAVA application with hardcoded temp folder (files already available from previous run)
    TVDS_TMP_DIR=/tmp/tvds1895770185265633201 [hardcoded]
    LD_LIBRARY_PATH=/tmp/tvds1895770185265633201/native-libs
    INFO: Loading /tmp/tvds1895770185265633201/native-libs/libMSPdtcc.so
    INFO: Loading /tmp/tvds1895770185265633201/native-libs/libMSPCoordinateConversionService.so
    INFO: Loading /tmp/tvds1895770185265633201/native-libs/libjnimsp_ccs.so
    [NO EXCEPTION]

  • Can't find the shared libraries

    In Itunes preferences I am looking for shared libraries but in the iTunes bar "Shared" does not appear.

    FIXXED it for my pc nework iphone and ipad seeing and shairing musice.
    first: msconfig, start in safe mode (with network)
    restart when asked
    in safe mode join home share like nomal
    it will try to go to itunes store let it try (will not conect at all right )
    close itunes (if you what)
    then back to msconfig in safe mode
    in msconfig tune off safe mode
    restart
    that should do it
    let me no if it worked for you

  • Modprobe can't find modules.dep

    Hi
    I lately compiled new kernel and I get this error during booting:
    modprobe: FATAL: Could not load /lib/modules/2.6.24-tuxonice-r9/modules.dep: No such file or directory
    modprobe: FATAL: Could not load /lib/modules/2.6.24-tuxonice-r9/modules.dep: No such file or directory
    despite file exist.
    After booting everything works fine. I try depmod -a and mkinitcpio -g /boot/kernelversion.img but still the same.
    How to get rid of this error?

    Gcool wrote:Have a read through this.
    Actually, turns out I was reading that when you posted.
    Here's where I'm stuck.
    After mounting proc, sys, and dev I did the mkinitcpio but now I receive:
    ERROR: '/lib/modules/3.0-ARCH/' is not a valid kernel module directory
    Which is accurate, because my /lib/modules is 3.3.4-1-ARCH. 
    So I checked for what could be setting that incorrectly with
    grep -r "3.0-ARCH"
    Only thing I found was in etc/mkinitcpio.d/exmple.preset
    But even in that file the line is commented out with #fallback_kver="3.0-ARCH".
    I didn't think I was using any defaults since I specify the -c command to mkinitcpio.
    Where is it getting this 3.0-ARCH kernel version from?

  • Can't find modules

    I'm following the instructions on this page:
    http://helpx.adobe.com/content/help/en/business-catalyst/using/add-blog.html
    But when I click on the drop down to select a module, there are no selections.
    What am I not understanding?
    Create a blog module
    Select Modules > Blogs, and click Add Blog.

    Thank you for posting.
    The free sites you get with cloud subscriptions are on webbasics plan. Unfortunately, the "modules" feature is unavailabe in webbasics plan. Please refer to the following link for more info on plans and available features http://www.adobe.com/products/business-catalyst/buying-guide-subscript ions.html
    Warm Regards,
    Aishvarya Rastogi

  • Can't find a few libraries

    I'm looking for:
    oracle.jdeveloper.servlet.*
    oracle.html.*
    I have to run iWorkplace for OAS on iAS,
    so, i have iAS/Portal and Appach only/ Oracle 8.1.7 and JD 3.2
    I'll appreciate any help

    one more :
    oracle.jdbc.driver.OracleBlob

  • Where can I find lens profile libraries?

    I have a Olympus E-450 with a Olympus Zuiko 14-42 mm lens and there is a lot of spheric aberration in low focal length. I am looking an Adobe Ligthroom lens profile to correct it.

    There is no internal or external lens profile built into Adobe products for your lens, and no external Olympus lenses supplied by Adobe:
    There is a profile contributed by a user that is available via the lens profile downloader that is apparently for your lens on an E-510.  It's rating is only 3 out of 5 so it may not be that good, but perhaps better than nothing:
    Here is a Before/After correction comparison:

  • Where can I find the 11g XE client conectivity libraries for download?

    Hi to all,
    I'm new to Oracle and I have already installed the Oracle Database Express Edition 11g server and now I want to test connections from client PCs but I can't find de client libraries installer for this edition. In the online documentation I found a link for downloading de client libraries but it is broken.
    In the download page there are no client libraries for downloading. Should I install all the database on client PCs?
    Any help will be appreciated,
    Regards,
    HDuqueC.

    Should I install all the database on client PCs?
    Not necessarily. On clients PCs you can install any compatible Client version.
    But... why do you need a client software on Clients ? A browser should be sufficient...

  • "Can't find dependent libraries" Query

    I created a sample.dll using VC++ which inturn uses java libraries. I
    was getting 'file.obj : error LNK2001: unresolved external symbol
    __imp__JAWT_GetAWT@8' link error while creating sample.dll even after
    providing jawt.dll path. So used jre/lib/jawt.lib to create the
    sample.dll. I am using this sample.dll to run a java program. While
    running the java program, I am getting the error 'Exception in thread
    "main" ava.lang.UnsatisfiedLinkError: sample.dll: Can't find dependent
    libraries'. If I don't use jawt.lib (by commenting relevant code) to
    create sample.dll, my java program runs fine.
    But I need to use the code relevant to jawt.lib. Any idea how to over
    come Can't find dependent libraries error?

    You need to link against "jawt.lib"
    E.g.
    In VC++ goto
    Projects -> Settings ->Link Tab
    Add jawt.lib to the Object/Library modules and Project Options.

  • Wine can't find the 32bit opengl libraries

    So WINE can't find the 32bit openGL libraries. Playonlinux complains about it, and touhou(a game (or actually, a series of games)) crashes horribly (or rather, spouts out an error) (and changes my resolution(lolwut)) when I try to launch it.
    Seems like a no-brainer, doesn't it? Just install lib32-nvidia-utils.
    What's the catch? I already have them installed. Had them installed since I installed my system (like a week ago).
    Playonlinux says
    [main] Message: PlayOnLinux (4.2.1) is starting
    [clean_tmp] Message: Cleaning temp directory
    libGL error: failed to load driver: swrast
    libGL error: Try again with LIBGL_DEBUG=verbose for more details.
    [Check_OpenGL] Warning: 32bits direct rendering is not enabled
    when I run it through a terminal and
    [main] Message: PlayOnLinux (4.2.1) is starting
    [clean_tmp] Message: Cleaning temp directory
    libGL: screen 0 does not appear to be DRI2 capable
    libGL: OpenDriver: trying /usr/lib32/xorg/modules/dri/tls/swrast_dri.so
    libGL: OpenDriver: trying /usr/lib32/xorg/modules/dri/swrast_dri.so
    libGL: driver does not expose __driDriverGetExtensions_swrast(): /usr/lib32/xorg/modules/dri/swrast_dri.so: undefined symbol: __driDriverGetExtensions_swrast
    libGL: Can't open configuration file /home/kahr/.drirc: No such file or directory.
    libGL: Can't open configuration file /home/kahr/.drirc: No such file or directory.
    libGL error: failed to load driver: swrast
    [Check_OpenGL] Warning: 32bits direct rendering is not enabled
    When I run it with LIBGL_DEBUG=verbose
    I'd post the error touhou gave me too if it weren't for the fact that it changes my resolution to the point where it is unuseable, so this should suffice.
    I gotta sleep now, sorry, I'll reply tomorrow
    EDIT: Things I already tried
    - Reinstalling lib32-nvidia-utils
    - Removing my .wine folder
    Last edited by kahrkunne (2013-12-28 00:41:54)

    skottish wrote:I believe that you'll need lib32-nvidia-libgl as well.
    Welp, fixed it.
    Still doesn't fix the weird resolution thing but I think that has to do with a certain DLL

Maybe you are looking for