title: libcurl Invalid ELF header in new Arch Install
body: <p>So I just installed Arch and most things are working fine, but when I try to use pacman or curl, I get the error: </p>
  
  <pre><code>pacman: error while loading shared libraries: /usr/lib/libcurl.so.4: invalid ELF header
  </code></pre>
  
  <p>Also, I can't seem to run anything pacman-related for now... not even a pacman --help</p>
  
  <p>Not sure if useful, but ls -l /usr/lib | grep libcurl gives:</p>
  
  <pre><code>-rw-r--r-- 1 root root 594016 Jun 22 12:21 libcurl.a
  lrwxrwxrwx 1 root root     16 Jun 22 12:21 libcurl.so -&gt; libcurl.so.4.3.0
  lrwxrwxrwx 1 root root     16 Jun 22 12:21 libcurl.so.4 -&gt; libcurl.so.4.3.0
  -rwxr-xr-x 1 root root 408324 Jun 22 12:21 libcurl.s0.4.3.0
  </code></pre>
  
  <p>Thanks in advance!</p>
  
  <p>Update: running ./curl-config gives the error, "cannot execute binary file". This makes me wonder if maybe I have a 64 bit version, whilst I'm running Arch i686. What is the best way to handle this?</p>