lundi 27 janvier 2020

keg-only libraries

imagemagick@6 is keg-only, which means it was not symlinked into /usr/local,
because this is an alternate version of another formula.

If you need to have imagemagick@6 first in your PATH run:
  echo 'export PATH="/usr/local/opt/imagemagick@6/bin:$PATH"' >> ~/.zshrc

For compilers to find imagemagick@6 you may need to set:
  export LDFLAGS="-L/usr/local/opt/imagemagick@6/lib"
  export CPPFLAGS="-I/usr/local/opt/imagemagick@6/include"

For pkg-config to find imagemagick@6 you may need to set:
  export PKG_CONFIG_PATH="/usr/local/opt/imagemagick@6/lib/pkgconfig"

#############

To use the bundled libc++ please add the following LDFLAGS:
  LDFLAGS="-L/usr/local/opt/llvm/lib -Wl,-rpath,/usr/local/opt/llvm/lib"

llvm is keg-only, which means it was not symlinked into /usr/local,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.

If you need to have llvm first in your PATH run:
  echo 'export PATH="/usr/local/opt/llvm/bin:$PATH"' >> ~/.zshrc

For compilers to find llvm you may need to set:
  export LDFLAGS="-L/usr/local/opt/llvm/lib"

  export CPPFLAGS="-I/usr/local/opt/llvm/include"

#############

openldap is keg-only, which means it was not symlinked into /usr/local,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.

If you need to have openldap first in your PATH run:
  echo 'export PATH="/usr/local/opt/openldap/bin:$PATH"' >> ~/.zshrc
  echo 'export PATH="/usr/local/opt/openldap/sbin:$PATH"' >> ~/.zshrc

For compilers to find openldap you may need to set:
  export LDFLAGS="-L/usr/local/opt/openldap/lib"
  export CPPFLAGS="-I/usr/local/opt/openldap/include"

##############

==> libffi

libffi is keg-only, which means it was not symlinked into /usr/local,

because macOS already provides this software and installing another version in

parallel can cause all kinds of trouble.


For compilers to find libffi you may need to set:

  export LDFLAGS="-L/usr/local/opt/libffi/lib"

  export CPPFLAGS="-I/usr/local/opt/libffi/include"


==> llvm

To use the bundled libc++ please add the following LDFLAGS:

  LDFLAGS="-L/usr/local/opt/llvm/lib -Wl,-rpath,/usr/local/opt/llvm/lib"


llvm is keg-only, which means it was not symlinked into /usr/local,

because macOS already provides this software and installing another version in

parallel can cause all kinds of trouble.


If you need to have llvm first in your PATH run:

  echo 'export PATH="/usr/local/opt/llvm/bin:$PATH"' >> ~/.zshrc


For compilers to find llvm you may need to set:

  export LDFLAGS="-L/usr/local/opt/llvm/lib"

  export CPPFLAGS="-I/usr/local/opt/llvm/include"


##############


poppler-qt5 is keg-only, which means it was not symlinked into /opt/homebrew,

because it conflicts with poppler.


If you need to have poppler-qt5 first in your PATH, run:

  echo 'export PATH="/opt/homebrew/opt/poppler-qt5/bin:$PATH"' >> ~/.zshrc


For compilers to find poppler-qt5 you may need to set:

  export LDFLAGS="-L/opt/homebrew/opt/poppler-qt5/lib"

  export CPPFLAGS="-I/opt/homebrew/opt/poppler-qt5/include"


For pkg-config to find poppler-qt5 you may need to set:

  export PKG_CONFIG_PATH="/opt/homebrew/opt/poppler-qt5/lib/pkgconfig"

  export PKG_CONFIG_PATH="/opt/homebrew/opt/poppler-qt5/share/pkgconfig"



mercredi 22 janvier 2020

Test SMART status in ubuntu and clone disk

sudo apt install smartmontools

Then read the name of your disk:
sudo parted -l

sudo smartctl -a /dev/sdx

or more complete

sudo smartctl -x /dev/sdx

with devx being the name of your disk

To clone a drive:
sudo dd if=/dev/sda of=/dev/sdb

with sda being the disk to clone and sdb the disk to receive the copy